-
Notifications
You must be signed in to change notification settings - Fork 9
Troubleshooting
wobakj edited this page Sep 24, 2016
·
3 revisions
error and arguments are displayed
- find function entry in the OpenGL reference and check reasons for error application is stopped
- backtrace crash point with gdb: enter “gdb application name”, then run by entering “r”
- when crashed, enter “bt” to backtrace exception, find mentioned function name and corresponding source file and line
sourcefile, line and error are displayed
- when loading failed at startup, application is stopped
- when loading failed during runtime, no exception is thrown, shader can be reloaded with R after problem was fixed
backtrace should be checked for gl* calls
- if glDraw* is part of backtrace, check Vertex Buffer, Index Buffer, and VertexArray bindings for
- if other gl* command is part of backtrace, checkbindings used in this function
- if no gl command is part of backtrace, mistake lies somewhere else
enable VSync
- in the launcher.cpp set the argument of the call to glfwSwapInterval from 0 to 1