Revision 7cf783cb
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedEffectQueues.java | ||
---|---|---|
199 | 199 |
public void draw(long currTime, DistortedTexture tex, GridObject grid, DistortedFramebuffer df) |
200 | 200 |
{ |
201 | 201 |
tex.createTexture(); |
202 |
df.setAsOutput(); |
|
202 |
df.createFBO(); |
|
203 |
GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, df.fboIds[0]); |
|
203 | 204 |
GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, tex.mTextureDataH[0]); |
204 | 205 |
drawPriv(currTime, tex, grid, df); |
205 | 206 |
DistortedFramebuffer.deleteAllMarked(); |
Also available in: Unified diff
Attempt to bring DTexture and DFramebuffer closer together.