Enable the glStringMarker logger when available
glStringMarker is usually only available when running under some kind of GL debugger, and can be used to insert strings into the GL command string. Writing logs using it can be useful, since it lets us correspond GL calls with what happens in compton. More info about the extension can be found here: https://www.khronos.org/registry/OpenGL/extensions/GREMEDY/GREMEDY_string_marker.txt Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -347,7 +347,7 @@ glx_init(session_t *ps, bool need_render) {
|
||||
// Check GL_ARB_texture_non_power_of_two, requires a GLX context and
|
||||
// must precede FBConfig fetching
|
||||
if (need_render)
|
||||
psglx->has_texture_non_power_of_two = glx_hasglext(ps,
|
||||
psglx->has_texture_non_power_of_two = glx_hasglext(
|
||||
"GL_ARB_texture_non_power_of_two");
|
||||
|
||||
// Acquire function addresses
|
||||
|
Reference in New Issue
Block a user