mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Default values to GL_FILL in case driver refuses to return any
This commit is contained in:
@@ -766,7 +766,7 @@ struct RenderTextState
|
||||
gl.glGetIntegeri_v(eGL_BLEND_DST_RGB, 0, (GLint*)&DestinationRGB);
|
||||
gl.glGetIntegeri_v(eGL_BLEND_DST_ALPHA, 0, (GLint*)&DestinationAlpha);
|
||||
|
||||
GLenum dummy[2];
|
||||
GLenum dummy[2] = { eGL_FILL, eGL_FILL };
|
||||
// docs suggest this is enumeration[2] even though polygon mode can't be set independently for front
|
||||
// and back faces.
|
||||
gl.glGetIntegerv(eGL_POLYGON_MODE, (GLint *)&dummy);
|
||||
|
||||
Reference in New Issue
Block a user