diff options
author | Johannes Schickel | 2015-12-11 23:51:21 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:24 +0100 |
commit | 8f3783da0994703e9fe6fcfc666d194c9eb00865 (patch) | |
tree | c80866292bf96a43e5056570a025eafad7ca9a82 /backends/platform/tizen | |
parent | e5e234b864e75862a2de72ee6c3b8bda47f41c23 (diff) | |
download | scummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.tar.gz scummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.tar.bz2 scummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.zip |
OPENGL: Add functionality to query OpenGL functions on runtime.
This can and will be used for future extension usage support.
Tizen changes have been untested.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r-- | backends/platform/tizen/graphics.cpp | 4 | ||||
-rw-r--r-- | backends/platform/tizen/graphics.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/tizen/graphics.cpp b/backends/platform/tizen/graphics.cpp index 759c4e519d..971be460d8 100644 --- a/backends/platform/tizen/graphics.cpp +++ b/backends/platform/tizen/graphics.cpp @@ -206,3 +206,7 @@ bool TizenGraphicsManager::loadVideoMode(uint requestedWidth, uint requestedHeig void TizenGraphicsManager::refreshScreen() { eglSwapBuffers(_eglDisplay, _eglSurface); } + +void *TizenGraphicsManager::getProcAddress(const char *name) const { + return eglGetProcAddress(name); +} diff --git a/backends/platform/tizen/graphics.h b/backends/platform/tizen/graphics.h index 1522d66bbe..1798b078d8 100644 --- a/backends/platform/tizen/graphics.h +++ b/backends/platform/tizen/graphics.h @@ -63,6 +63,8 @@ protected: void refreshScreen(); + void *getProcAddress(const char *name) const; + const Graphics::Font *getFontOSD(); private: |