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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue