diff options
author | sfan5 <sfan5@live.de> | 2021-04-18 16:07:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 16:07:13 +0200 |
commit | 0077982fb78a8ed39a90da03c0898d12583fed64 (patch) | |
tree | 559c7a8c570aa517f191c07ccf327b3afde2119d /src/client/renderingengine.cpp | |
parent | 623f0a8613bd8677e259366a1d540deedb9d2302 (diff) | |
download | minetest-0077982fb78a8ed39a90da03c0898d12583fed64.tar.gz minetest-0077982fb78a8ed39a90da03c0898d12583fed64.tar.bz2 minetest-0077982fb78a8ed39a90da03c0898d12583fed64.zip |
GLES fixes (#11205)
* Consistently set float precision for GLES
* Enable DPI scaling on Windows+GLES
Diffstat (limited to 'src/client/renderingengine.cpp')
-rw-r--r-- | src/client/renderingengine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index 4f59bbae3..d2d136a61 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -335,6 +335,10 @@ static bool getWindowHandle(irr::video::IVideoDriver *driver, HWND &hWnd) case video::EDT_DIRECT3D9: hWnd = reinterpret_cast<HWND>(exposedData.D3D9.HWnd); break; +#if ENABLE_GLES + case video::EDT_OGLES1: + case video::EDT_OGLES2: +#endif case video::EDT_OPENGL: hWnd = reinterpret_cast<HWND>(exposedData.OpenGLWin32.HWnd); break; |