Revision 6537ba91
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
98 |
// must be called form a thread holding OpenGL Context
|
|
98 |
// Must be called from a thread holding OpenGL Context
|
|
99 | 99 |
|
100 | 100 |
private boolean createFBO() |
101 | 101 |
{ |
... | ... | |
130 | 130 |
} |
131 | 131 |
|
132 | 132 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
133 |
// must be called from a thread holding OpenGL Context
|
|
133 |
// Must be called from a thread holding OpenGL Context
|
|
134 | 134 |
|
135 | 135 |
private void deleteFBO() |
136 | 136 |
{ |
... | ... | |
294 | 294 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
295 | 295 |
/** |
296 | 296 |
* Set this as the Framebuffer to write to. |
297 |
* <p> |
|
298 |
* Must be called from a thread holding OpenGL Context |
|
297 | 299 |
*/ |
298 | 300 |
public void setAsOutput() |
299 | 301 |
{ |
... | ... | |
305 | 307 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
306 | 308 |
/** |
307 | 309 |
* Set this as the Framebuffer to read from. |
310 |
* <p> |
|
311 |
* Must be called from a thread holding OpenGL Context |
|
308 | 312 |
*/ |
309 | 313 |
public void setAsInput() |
310 | 314 |
{ |
Also available in: Unified diff
Minor.