Remove unused session_t argument from gl_has_extension

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-01-26 23:07:59 +00:00
parent 031356069a
commit 6c6dd6ad7d
2 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ static inline void gl_check_err_(const char *func, int line) {
/**
* Check if a GLX extension exists.
*/
static inline bool gl_has_extension(session_t *ps, const char *ext) {
static inline bool gl_has_extension(const char *ext) {
GLint nexts = 0;
glGetIntegerv(GL_NUM_EXTENSIONS, &nexts);
if (!nexts) {