|
|
@ -1624,7 +1624,7 @@ void rlglInit(int width, int height) |
|
|
|
if (strcmp(extList[i], (const char *)"GL_EXT_texture_mirror_clamp") == 0) texMirrorClampSupported = true; |
|
|
|
|
|
|
|
// Debug marker support |
|
|
|
if(strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true; |
|
|
|
if (strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true; |
|
|
|
} |
|
|
|
|
|
|
|
#if defined(_WIN32) && defined(_MSC_VER) |
|
|
@ -1804,7 +1804,7 @@ void rlLoadExtensions(void *loader) |
|
|
|
#if defined(GRAPHICS_API_OPENGL_21) |
|
|
|
if (GLAD_GL_VERSION_2_1) TraceLog(LOG_INFO, "OpenGL 2.1 profile supported"); |
|
|
|
#elif defined(GRAPHICS_API_OPENGL_33) |
|
|
|
if(GLAD_GL_VERSION_3_3) TraceLog(LOG_INFO, "OpenGL 3.3 Core profile supported"); |
|
|
|
if (GLAD_GL_VERSION_3_3) TraceLog(LOG_INFO, "OpenGL 3.3 Core profile supported"); |
|
|
|
else TraceLog(LOG_ERROR, "OpenGL 3.3 Core profile not supported"); |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -4095,7 +4095,7 @@ static void UpdateBuffersDefault(void) |
|
|
|
// Another option: map the buffer object into client's memory |
|
|
|
// Probably this code could be moved somewhere else... |
|
|
|
// vertexData[currentBuffer].vertices = (float *)glMapBuffer(GL_ARRAY_BUFFER, GL_READ_WRITE); |
|
|
|
// if(vertexData[currentBuffer].vertices) |
|
|
|
// if (vertexData[currentBuffer].vertices) |
|
|
|
// { |
|
|
|
// Update vertex data |
|
|
|
// } |
|
|
|