File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,12 @@ task prepareAssets() {
63
63
copy {
64
64
from " ${ projRoot} /builtin" into " ${ assetsFolder} /builtin"
65
65
}
66
- copy {
66
+ /* copy {
67
+ // ToDo: fix Minetest shaders that currently don't work with OpenGL ES
67
68
from "${projRoot}/client/shaders" into "${assetsFolder}/client/shaders"
69
+ }*/
70
+ copy {
71
+ from " ../native/deps/Android/Irrlicht/shaders" into " ${ assetsFolder} /client/shaders/Irrlicht"
68
72
}
69
73
copy {
70
74
from " ${ projRoot} /fonts" include " *.ttf" into " ${ assetsFolder} /fonts"
@@ -73,8 +77,7 @@ task prepareAssets() {
73
77
from " ${ projRoot} /games/${ gameToCopy} " into " ${ assetsFolder} /games/${ gameToCopy} "
74
78
}
75
79
/* copy {
76
- // locales broken right now
77
- // ToDo: fix it!
80
+ // ToDo: fix broken locales
78
81
from "${projRoot}/po" into "${assetsFolder}/po"
79
82
}*/
80
83
copy {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ buildscript {
15
15
jcenter()
16
16
}
17
17
dependencies {
18
- classpath ' com.android.tools.build:gradle:3.6.2 '
18
+ classpath ' com.android.tools.build:gradle:3.6.3 '
19
19
classpath ' org.ajoberstar.grgit:grgit-gradle:4.0.2'
20
20
// NOTE: Do not place your application dependencies here; they belong
21
21
// in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -130,12 +130,9 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
130
130
params.HighPrecisionFPU = g_settings->getBool (" high_precision_fpu" );
131
131
params.ZBufferBits = 24 ;
132
132
#ifdef __ANDROID__
133
- // clang-format off
134
133
params.PrivateData = porting::app_global;
135
- params.OGLES2ShaderPath = std::string (porting::path_user + DIR_DELIM + " media" +
136
- DIR_DELIM + " Shaders" + DIR_DELIM).c_str ();
137
- // clang-format on
138
- #elif ENABLE_GLES
134
+ #endif
135
+ #if ENABLE_GLES
139
136
// there is no standardized path for these on desktop
140
137
std::string rel_path = std::string (" client" ) + DIR_DELIM
141
138
+ " shaders" + DIR_DELIM + " Irrlicht" ;
You can’t perform that action at this time.
0 commit comments