Revision 89a0d841
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/scratchpad/ScratchpadRenderer.java | ||
---|---|---|
75 | 75 |
|
76 | 76 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
77 | 77 |
{ |
78 |
mBackground.abortAllEffects(Distorted.TYPE_MATR);
|
|
78 |
mBackground.abortAllEffects(Distorted.TYPE_PRE);
|
|
79 | 79 |
mBackground.scale((float)width/texWidth,(float)height/texHeight,1); |
80 | 80 |
Distorted.onSurfaceChanged(width,height); |
81 | 81 |
ScratchpadSurfaceView.setScreenSize(width,height); |
Also available in: Unified diff
Beginnings of support for PostShader effects (SavePNG, SaveMP4)