diff --git a/src/external/rlsw.h b/src/external/rlsw.h index e0700024a..3c908a82f 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -4050,9 +4050,9 @@ const char *swGetString(SWget name) switch (name) { - case SW_VENDOR: result = "RLSW Header"; break; - case SW_RENDERER: result = "RLSW Software Renderer"; break; - case SW_VERSION: result = "RLSW 1.0"; break; + case SW_VENDOR: result = "RLSW"; break; + case SW_RENDERER: result = "RLSW OpenGL Software Renderer"; break; + case SW_VERSION: result = RLSW_VERSION; break; case SW_EXTENSIONS: result = "None"; break; default: RLSW.errCode = SW_INVALID_ENUM; break; } diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 2bf846be0..92c1979b3 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -2166,7 +2166,7 @@ static KeyboardKey ConvertScancodeToKey(SDL_Scancode sdlScancode) return mapScancodeToKey[sdlScancode]; } - return KEY_NULL; // No equivalent key in Raylib + return KEY_NULL; // No equivalent key in raylib } // Get next codepoint in a byte sequence and bytes processed diff --git a/src/platforms/rcore_desktop_win32.c b/src/platforms/rcore_desktop_win32.c index 612800b83..afbbedffc 100644 --- a/src/platforms/rcore_desktop_win32.c +++ b/src/platforms/rcore_desktop_win32.c @@ -1652,9 +1652,9 @@ int InitPlatform(void) if (rlGetVersion() == RL_OPENGL_SOFTWARE) // Using software renderer { TRACELOG(LOG_INFO, "GL: OpenGL device information:"); - TRACELOG(LOG_INFO, " > Vendor: %s", "raylib"); - TRACELOG(LOG_INFO, " > Renderer: %s", "rlsw - OpenGL Software Renderer"); - TRACELOG(LOG_INFO, " > Version: %s", "1.0"); + TRACELOG(LOG_INFO, " > Vendor: %s", glGetString(GL_VENDOR)); + TRACELOG(LOG_INFO, " > Renderer: %s", glGetString(GL_RENDERER)); + TRACELOG(LOG_INFO, " > Version: %s", glGetString(GL_VERSION)); TRACELOG(LOG_INFO, " > GLSL: %s", "NOT SUPPORTED"); } @@ -1870,7 +1870,8 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpara // WARNING: Don't trust the docs, they say this message can not be obtained if not calling DefWindowProc() // in response to WM_WINDOWPOSCHANGED but looks like when a window is created, // this message can be obtained without getting WM_WINDOWPOSCHANGED - HandleWindowResize(hwnd, &platform.appScreenWidth, &platform.appScreenHeight); + // WARNING: This call fails for Software-Renderer backend + //HandleWindowResize(hwnd, &platform.appScreenWidth, &platform.appScreenHeight); } break; //case WM_MOVE case WM_WINDOWPOSCHANGED: