move qgl.[ch] to src/client/refresh/gl/

This commit is contained in:
Daniel Gibson 2016-10-02 01:47:20 +02:00
parent f13e15e561
commit 2062b319e9
4 changed files with 4 additions and 5 deletions

View file

@ -738,10 +738,8 @@ endif
# ----------
# TODO: move qgl.c to refresh/gl/ (and probably the header as well)
REFGL_OBJS_ := \
src/backends/generic/qgl.o \
src/client/refresh/gl/qgl.o \
src/client/refresh/gl/r_draw.o \
src/client/refresh/gl/r_image.o \
src/client/refresh/gl/r_light.o \

View file

@ -33,7 +33,7 @@
* =======================================================================
*/
#include "../../client/refresh/header/local.h"
#include "../header/local.h"
/*
* GL extensions

View file

@ -42,7 +42,8 @@
#endif
#include "../../header/ref.h"
#include "../../../backends/generic/header/qgl.h"
// FIXME: can we avoid including qgl.h here? it's specific to the gl1 backend
#include "../gl/qgl.h"
#ifndef GL_COLOR_INDEX8_EXT
#define GL_COLOR_INDEX8_EXT GL_COLOR_INDEX