Revision 42571056
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedSurface.java | ||
---|---|---|
77 | 77 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
78 | 78 |
// must be called from a thread holding OpenGL Context |
79 | 79 |
|
80 |
static synchronized void toDo()
|
|
80 |
static synchronized boolean toDo()
|
|
81 | 81 |
{ |
82 | 82 |
if( mToDo ) |
83 | 83 |
{ |
... | ... | |
104 | 104 |
|
105 | 105 |
mToDoMap.clear(); |
106 | 106 |
mToDo = false; |
107 |
return true; |
|
107 | 108 |
} |
109 |
|
|
110 |
return false; |
|
108 | 111 |
} |
109 | 112 |
|
110 | 113 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Preparation for Transfer Feedback: Convert the meshes from client-side to VBOs.