Move OpenGL functions around

Also remove some debug function calls (there are better tools for opengl
debugging now). Also remove copysubbuffermesa

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-09-29 19:24:33 +01:00
parent 90b6aa16ad
commit c01ad5bf04
4 changed files with 168 additions and 217 deletions

View File

@ -1,3 +1,4 @@
#pragma once
/*
* Compton - a compositor for X11
*
@ -120,10 +121,3 @@ glx_hasglext(session_t *ps, const char *ext) {
return found;
}
static bool
glx_update_fbconfig(session_t *ps);
static int
glx_cmp_fbconfig(session_t *ps,
const glx_fbconfig_t *pfbc_a, const glx_fbconfig_t *pfbc_b);