mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Remove unused backend_opengles.h
This commit is contained in:
parent
fc5cfb6f6c
commit
b33cbdde0a
|
@ -1948,7 +1948,6 @@ if(CLIENT)
|
||||||
backend/opengl/opengl_sl_program.cpp
|
backend/opengl/opengl_sl_program.cpp
|
||||||
backend/opengl/opengl_sl_program.h
|
backend/opengl/opengl_sl_program.h
|
||||||
backend/opengles/backend_opengles.cpp
|
backend/opengles/backend_opengles.cpp
|
||||||
backend/opengles/backend_opengles.h
|
|
||||||
backend/opengles/backend_opengles3.cpp
|
backend/opengles/backend_opengles3.cpp
|
||||||
backend/opengles/backend_opengles3.h
|
backend/opengles/backend_opengles3.h
|
||||||
backend/opengles/gles_class_defines.h
|
backend/opengles/gles_class_defines.h
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
#ifndef ENGINE_CLIENT_BACKEND_OPENGLES_BACKEND_OPENGLES_H
|
|
||||||
#define ENGINE_CLIENT_BACKEND_OPENGLES_BACKEND_OPENGLES_H
|
|
||||||
|
|
||||||
#include <base/detect.h>
|
|
||||||
|
|
||||||
#if defined(CONF_BACKEND_OPENGL_ES) || defined(CONF_BACKEND_OPENGL_ES3)
|
|
||||||
#include <engine/client/backend_sdl.h>
|
|
||||||
|
|
||||||
#define GLES_CLASS_DEFINES_DO_DEFINE
|
|
||||||
#include "gles_class_defines.h"
|
|
||||||
#undef GLES_CLASS_DEFINES_DO_DEFINE
|
|
||||||
|
|
||||||
#define BACKEND_AS_OPENGL_ES 1
|
|
||||||
|
|
||||||
#include <engine/client/backend/opengl/backend_opengl.h>
|
|
||||||
|
|
||||||
#undef BACKEND_AS_OPENGL_ES
|
|
||||||
|
|
||||||
#include "gles_class_defines.h"
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in a new issue