浏览代码

free memory for extList

Ray 6 年之前
父节点
当前提交
0bf82ff6f4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/rlgl.h

+ 2 - 2
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)