Revision 89de975c
Added by Leszek Koltunski over 8 years ago
| src/main/java/org/distorted/library/DistortedScreen.java | ||
|---|---|---|
| 25 | 25 |
import android.content.Context; |
| 26 | 26 |
import android.content.pm.ConfigurationInfo; |
| 27 | 27 |
import android.opengl.GLSurfaceView; |
| 28 |
import android.view.SurfaceView; |
|
| 29 | 28 |
|
| 30 | 29 |
/** |
| 31 | 30 |
* Class which represents the Screen. |
| ... | ... | |
| 54 | 53 |
{
|
| 55 | 54 |
// set color to 'DONT_CREATE' so that Screens will not get added to the Surface lists |
| 56 | 55 |
// set depth to 'CREATED' so that depth will be, by default, on. |
| 57 |
super(0,0,DONT_CREATE,CREATED,0,TYPE_USER);
|
|
| 56 |
super(0,0,DONT_CREATE,DEPTH_NO_STENCIL,0,TYPE_USER);
|
|
| 58 | 57 |
|
| 59 | 58 |
if( view!=null ) |
| 60 | 59 |
{
|
Also available in: Unified diff
Add possibility to create FBOs with combined DEPTH/STENCIL.