unsigned int mant_odd = (f.u >> 13) & 1; // resulting mantissa is odd
// update exponent, rounding bias part 1
- f.u += ((15 - 127) << 23) + 0xfff;
+ f.u += (unsigned(15 - 127) << 23) + 0xfff;
// rounding bias part 2
f.u += mant_odd;
// take the bits!
return glsl_version;
}
+void APIENTRY debug_callback(GLenum source,
+ GLenum type,
+ GLuint id,
+ GLenum severity,
+ GLsizei length,
+ const char *message,
+ const void *userParam)
+#ifdef __GNUC__
+ __attribute__((unused))
+#endif
+;
+
void APIENTRY debug_callback(GLenum source,
GLenum type,
GLuint id,