Revision 47511918
Added by Leszek Koltunski about 6 years ago
src/main/java/org/distorted/library/main/Distorted.java | ||
---|---|---|
119 | 119 |
final ConfigurationInfo configurationInfo = activityManager.getDeviceConfigurationInfo(); |
120 | 120 |
android.util.Log.e("DISTORTED", "Using OpenGL ES "+configurationInfo.getGlEsVersion()); |
121 | 121 |
|
122 |
GLSL = ( (configurationInfo.reqGlEsVersion>>16)>=3 ? 300 : 100 );
|
|
123 |
GLSL_VERSION= (GLSL==100 ? "#version 100\n" : "#version 300 es\n");
|
|
122 |
GLSL = ( (configurationInfo.reqGlEsVersion>>16)>=3 ? 310 : 100 );
|
|
123 |
GLSL_VERSION= (GLSL==100 ? "#version 100\n" : "#version 310 es\n");
|
|
124 | 124 |
|
125 | 125 |
EffectMessageSender.startSending(); |
126 | 126 |
|
Also available in: Unified diff
Order Independent Transparency: some progress