-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Environment:
- OS: Windows 11, Ubuntu 22.04.2 via WSL
- Compiler: MSVC 17.7.4, GCC 11.4.0 on WSL
Steps to reproduce:
- Start a GLSMAC game with proper path to SMAC resources
- In main menu, click "Start Game"
- Click "Make Random Map" ⇒ "Huge Planet"
- Choose any difficulty
- Click "Start with standard rules"
- Wait until map generation completes
Actual result:
The game crashes to desktop on both Windows and Linux.
unknown_2023.09.29-22.53.mp4
Linux release build shows the following logs:
terminate called after throwing an instance of 'std::runtime_error'
what(): OpenGL error occured in render loop, aborting
Aborted
Debug build shows A breakpoint instruction (__debugbreak() statement or a similar call) was executed in GLSMAC.exe.
with call stack pointing to
glsmac/src/graphics/opengl/OpenGL.cpp
Line 469 in 3d6a9fb
| glGenerateMipmap( GL_TEXTURE_2D ); |
Debug logs have the following error:
Exception thrown at 0x00007FFE91E84FFC in GLSMAC.exe: Microsoft C++ exception: std::runtime_error at memory location 0x00000069065FEC58.
Expected result:
Game successfully starts with newly generated map
Note: Game only crashes after generating "Huge Planet" map, "Large Planet" and lower don't crash
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working