Revision 6720ec85
Added by Leszek Koltunski almost 9 years ago
| src/main/java/org/distorted/library/Distorted.java | ||
|---|---|---|
| 115 | 115 |
Log.d(TAG, "Max vectors in vertex shader: "+maxV); |
| 116 | 116 |
Log.d(TAG, "Max vectors in fragment shader: "+maxF); |
| 117 | 117 |
|
| 118 |
if( Build.FINGERPRINT.startsWith("generic") == false )
|
|
| 118 |
if( Build.FINGERPRINT.contains("generic") == false )
|
|
| 119 | 119 |
{
|
| 120 | 120 |
int realMaxV = (maxV-11)/4; // adjust this in case of changes to the shaders... |
| 121 | 121 |
int realMaxF = (maxF- 2)/4; // |
Also available in: Unified diff
Simplify SurfaceViews