forked from mirrors/kolyah35-minecraft-pe-0.6.1
IT COMPILESgit add .! also added full screen support. see issues.
This commit is contained in:
parent
aec534d948
commit
d554767309
5 changed files with 206 additions and 44 deletions
|
|
@ -275,8 +275,10 @@ void AppPlatform_iOS::hideKeyboard() {
|
|||
[_viewController hideKeyboard];
|
||||
super::hideKeyboard();
|
||||
}
|
||||
void AppPlatform_iOS::isPowerVR() {
|
||||
|
||||
// this was originally void but i changed it to bool because void cant return values
|
||||
bool AppPlatform_iOS::isPowerVR() {
|
||||
const char* s = (const char*)glGetString(GL_RENDERER);
|
||||
if (!s) return false;
|
||||
return strstr(s, "SGX") != NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <sstream>
|
||||
#include <type_traits>
|
||||
#include "Mth.h"
|
||||
#include <util/Mth.h>
|
||||
/*
|
||||
template<typename T>
|
||||
struct is_option_type : std::false_type {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue