@@ -1652,9 +1652,9 @@ int InitPlatform(void)
16521652 if (rlGetVersion () == RL_OPENGL_SOFTWARE ) // Using software renderer
16531653 {
16541654 TRACELOG (LOG_INFO , "GL: OpenGL device information:" );
1655- TRACELOG (LOG_INFO , " > Vendor: %s" , "raylib" );
1656- TRACELOG (LOG_INFO , " > Renderer: %s" , "rlsw - OpenGL Software Renderer" );
1657- TRACELOG (LOG_INFO , " > Version: %s" , "1.0" );
1655+ TRACELOG (LOG_INFO , " > Vendor: %s" , glGetString ( GL_VENDOR ) );
1656+ TRACELOG (LOG_INFO , " > Renderer: %s" , glGetString ( GL_RENDERER ) );
1657+ TRACELOG (LOG_INFO , " > Version: %s" , glGetString ( GL_VERSION ) );
16581658 TRACELOG (LOG_INFO , " > GLSL: %s" , "NOT SUPPORTED" );
16591659 }
16601660
@@ -1870,7 +1870,8 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpara
18701870 // WARNING: Don't trust the docs, they say this message can not be obtained if not calling DefWindowProc()
18711871 // in response to WM_WINDOWPOSCHANGED but looks like when a window is created,
18721872 // this message can be obtained without getting WM_WINDOWPOSCHANGED
1873- HandleWindowResize (hwnd , & platform .appScreenWidth , & platform .appScreenHeight );
1873+ // WARNING: This call fails for Software-Renderer backend
1874+ //HandleWindowResize(hwnd, &platform.appScreenWidth, &platform.appScreenHeight);
18741875 } break ;
18751876 //case WM_MOVE
18761877 case WM_WINDOWPOSCHANGED :
0 commit comments