Revision b33f6f0a
Added by Leszek Koltunski almost 9 years ago
| src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
|---|---|---|
| 359 | 359 |
public void renderTo(DistortedTexture tex, MeshObject mesh, DistortedEffects effects, long time) |
| 360 | 360 |
{
|
| 361 | 361 |
tex.createTexture(); |
| 362 |
tex.setAsInput(); |
|
| 363 | 362 |
DistortedFramebuffer.deleteAllMarked(); |
| 364 | 363 |
DistortedTexture.deleteAllMarked(); |
| 365 | 364 |
createFBO(); |
| 365 |
tex.setAsInput(); |
|
| 366 | 366 |
setAsOutput(); |
| 367 | 367 |
effects.drawPriv(tex.mHalfX, tex.mHalfY, mesh, this, time); |
| 368 | 368 |
} |
Also available in: Unified diff
Fix a regression in 'SAVE' app.