mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
render/gles2: remove error log when timer isnt ready
This line was spamming the log when trying to retrieve a timer in a loop until ready.
This commit is contained in:
parent
9839535691
commit
a5c87484c2
1 changed files with 0 additions and 1 deletions
|
|
@ -326,7 +326,6 @@ static int gles2_get_render_time(struct wlr_render_timer *wlr_timer) {
|
||||||
renderer->procs.glGetQueryObjectivEXT(timer->id,
|
renderer->procs.glGetQueryObjectivEXT(timer->id,
|
||||||
GL_QUERY_RESULT_AVAILABLE_EXT, &available);
|
GL_QUERY_RESULT_AVAILABLE_EXT, &available);
|
||||||
if (!available) {
|
if (!available) {
|
||||||
wlr_log(WLR_ERROR, "timer was read too early, gpu isn't done!");
|
|
||||||
wlr_egl_restore_context(&prev_ctx);
|
wlr_egl_restore_context(&prev_ctx);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue