OGL: Use floating points for viewport parameters.

As told by neobain, ARB_viewport_array introduced float viewports.
They must be supported on OGL4.1+, but it's usually also implemented on 3.3 GPUs.
This commit is contained in:
degasus
2013-10-29 15:29:06 +01:00
parent f82e1b9dc7
commit edf0511d4e
2 changed files with 17 additions and 7 deletions

View File

@ -27,6 +27,7 @@ extern struct VideoConfig {
bool bSupportSampleShading;
GLSL_VERSION eSupportedGLSLVersion;
bool bSupportOGL31;
bool bSupportViewportFloat;
const char *gl_vendor;
const char *gl_renderer;