1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-10 02:33:00 +00:00

updated the Android version

This commit is contained in:
Zeno Rogue
2018-12-15 15:17:26 +01:00
parent 4e4fce922e
commit c08cad3e0b
5 changed files with 17 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.roguetemple.hyperroid"
android:versionCode="10420" android:versionName="10.4t"
android:versionCode="10504" android:versionName="10.5d"
android:installLocation="auto">
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->
<!-- <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" /> -->

View File

@@ -302,8 +302,8 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_draw(MOBPAR_FORMAL) {
// text is drawn with 'textured'
glhr::be_textured();
glhr::set_depthtest(false);
stereo::set_viewport(0);
stereo::set_mask(0);
current_display->set_viewport(0);
current_display->set_mask(0);
glhr::new_projection();
glhr::projection_multiply(glhr::translate(-1,-1,0));
glhr::projection_multiply(glhr::ortho(vid.xres/2, vid.yres/2, 1));