commit 4389f5c2f8b23e5ae5580aec22a429836f6cd292
parent be3368ecb79f599591e5b6a03e1f22847d2a3baf
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 27 Oct 2018 12:58:17 +0300
Whoops
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gl.cc b/gl.cc
@@ -214,9 +214,9 @@ GLFWwindow * gl_init( WindowType window_type ) {
INFO( "{}: {}", exts[ i ].name, exts[ i ].enabled == 0 ? "missing" : "present" );
}
-#if RELEASE_BUILD
+#if !RELEASE_BUILD
bool nvidia_and_windows = false;
-#ifdef PLATFORM_WINDOWS
+#if PLATFORM_WINDOWS
if( strstr( vendor, "NVIDIA" ) ) {
nvidia_and_windows = true;
}