Revision d99fcc9c
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/library/main/InternalOutputSurface.java | ||
---|---|---|
838 | 838 |
*/ |
839 | 839 |
public void setOrderIndependentTransparency(boolean oit) |
840 | 840 |
{ |
841 |
if( DistortedLibrary.getGLSL()>=310 && DistortedLibrary.OITCompilationSuccessful() )
|
|
841 |
if( DistortedLibrary.getGLSL()>=310 ) |
|
842 | 842 |
{ |
843 | 843 |
mRenderWayOIT = oit; |
844 | 844 |
} |
... | ... | |
866 | 866 |
*/ |
867 | 867 |
public void setOrderIndependentTransparency(boolean oit, float initialSize) |
868 | 868 |
{ |
869 |
if( DistortedLibrary.getGLSL()>=310 && DistortedLibrary.OITCompilationSuccessful() )
|
|
869 |
if( DistortedLibrary.getGLSL()>=310 ) |
|
870 | 870 |
{ |
871 | 871 |
mRenderWayOIT = oit; |
872 | 872 |
|
Also available in: Unified diff
Only compile the Full, Normal & OIT programs when they are actually needed.