Revision b81d5d40
Added by Leszek Koltunski over 6 years ago
src/main/java/org/distorted/examples/stencil/StencilRenderer.java | ||
---|---|---|
137 | 137 |
|
138 | 138 |
mScreen = new DistortedScreen(); |
139 | 139 |
mScreen.glClearColor(1.0f,1.0f,1.0f,1.0f); |
140 |
mView.setEGLConfigChooser(5,6,5,0,16,8); // Screen: 16 bit depth, 8 bit STENCIL |
|
141 | 140 |
|
142 | 141 |
setScreen(true); |
143 | 142 |
|
Also available in: Unified diff
Stencil App: Do not request any special EGL config; with DistortedScreen now buffered, we don't have to (and in fact this config doesn't exist on HTC Desire 12)