Skip to content

opengl: renderer: do not enable GL_CULL_FACE

Romain Vimont requested to merge rom1v/vlc:opengl_states into master

The OpenGL states must not be set on Open, but on each Draw call if necessary (they may impact other filters).

In practice, it is not necessary to set them at all:

  • GL_CULL_FACE is useless for the renderer;
  • the other states are assumed to be the default values in all other filters.

Suggested-by: Niklas Haas <git@haasn.dev>

Edited by Romain Vimont

Merge request reports

Loading