mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
* Oops
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "App.hpp"
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include "../emscripten/AppPlatform_emscripten.hpp"
|
||||
typedef AppPlatform_emscripten UsedAppPlatform
|
||||
typedef AppPlatform_emscripten UsedAppPlatform;
|
||||
#else
|
||||
#include "AppPlatform_sdl.hpp"
|
||||
typedef AppPlatform_sdl UsedAppPlatform;
|
||||
|
||||
@@ -195,10 +195,13 @@ void Screen::renderMenuBackground(float f)
|
||||
ym = 0.0f;
|
||||
xm = 1.0f;
|
||||
break;
|
||||
default:
|
||||
goto skip_rotate;
|
||||
}
|
||||
|
||||
glRotatef(ang, xm, ym, 0.0f);
|
||||
|
||||
skip_rotate:
|
||||
m_pMinecraft->m_pTextures->setSmoothing(true);
|
||||
m_pMinecraft->m_pTextures->setClampToEdge(true);
|
||||
m_pMinecraft->m_pTextures->loadAndBindTexture(std::string(g_panoramaList[i]));
|
||||
|
||||
Reference in New Issue
Block a user