Browse Source

GL: fix compiler warning.

inverted-ranges
Vladimír Vondruš 8 years ago
parent
commit
dcea264b71
  1. 2
      src/Magnum/GL/Renderer.cpp

2
src/Magnum/GL/Renderer.cpp

@ -209,7 +209,7 @@ void Renderer::initializeContextBasedFunctionality() {
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
void Renderer::clearDepthfImplementationDefault(const GLfloat depth) { void Renderer::clearDepthfImplementationDefault(const GLfloat depth) {
glClearDepth(depth); glClearDepth(GLdouble(depth));
} }
#endif #endif

Loading…
Cancel
Save