Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop doing drawElements with count 0 #18

Open
Aki-7 opened this issue Jan 19, 2023 · 0 comments
Open

Stop doing drawElements with count 0 #18

Aki-7 opened this issue Jan 19, 2023 · 0 comments

Comments

@Aki-7
Copy link
Member

Aki-7 commented Jan 19, 2023

GLsizei count = 0;
base_technique_.DrawElements(
GL_TRIANGLES, count, GL_UNSIGNED_SHORT, 0, &gl_element_array_buffer_);

There are a lot of warning in zen-remote-display-system like this.

...
01-20 01:29:32.852 20529 20560 E ZEN[Oculus]: GLES: unable to generate a triangle primitive because there are less than 3 vertices
01-20 01:29:32.852 20529 20560 W ZEN[Oculus]: GLES: unable to generate a triangle primitive because there are less than 3 vertices
01-20 01:29:32.852 20529 20560 D ZEN[Oculus]: GLES: unable to generate a triangle primitive because there are less than 3 vertices
01-20 01:29:32.852 20529 20560 E ZEN[Oculus]: GLES: unable to generate a triangle primitive because there are less than 3 vertices
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant