Revision f953bee0
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
---|---|---|
46 | 46 |
|
47 | 47 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
48 | 48 |
/** |
49 |
* A singleton class used to control various global settings. |
|
49 |
* A singleton class used to control various global dialog_settings.
|
|
50 | 50 |
*/ |
51 | 51 |
public class DistortedLibrary |
52 | 52 |
{ |
... | ... | |
575 | 575 |
} |
576 | 576 |
|
577 | 577 |
// reading the value of the buffer on every frame would slow down rendering by |
578 |
// about 3%; doing it only once every 5 frames affects speed by less than 1%. |
|
578 |
// dialog_about 3%; doing it only once every 5 frames affects speed by less than 1%.
|
|
579 | 579 |
if( mCurrBuffer==0 ) |
580 | 580 |
{ |
581 | 581 |
GLES31.glBindBufferBase(GLES31.GL_ATOMIC_COUNTER_BUFFER, 0, mAtomicCounter[mCurrBuffer]); |
Also available in: Unified diff
Making the Dialogs more consistent.