mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 22:43:27 +02:00
continue implementing new graphics engine
* implement OpenGL ES 1.1 and OpenGL ES 2.0 support * new framebuffer that can run on any opengl implementation * fixes in outfit size rendering
This commit is contained in:
@@ -29,10 +29,10 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#ifndef OPENGL_ES2
|
||||
#include <GL/glx.h>
|
||||
#else
|
||||
#ifdef OPENGL_ES
|
||||
#include <EGL/egl.h>
|
||||
#else
|
||||
#include <GL/glx.h>
|
||||
#endif
|
||||
|
||||
class X11Window : public PlatformWindow
|
||||
@@ -94,7 +94,7 @@ private:
|
||||
Atom m_wmDelete;
|
||||
std::string m_clipboardText;
|
||||
|
||||
#ifndef OPENGL_ES2
|
||||
#ifndef OPENGL_ES
|
||||
GLXContext m_glxContext;
|
||||
GLXFBConfig *m_fbConfig;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user