aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 7f2a1711..1308ad9d 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1725,8 +1725,8 @@ void rlglInit(int width, int height)
if(strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true;
}
-#if defined(_MSC_VER)
- //free(extList);
+#if defined(_WIN32) && defined(_MSC_VER)
+ free(extList);
#endif
#if defined(GRAPHICS_API_OPENGL_ES2)