File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ import lime.math.Matrix4;
5555class OpenGLRenderer extends DisplayObjectRenderer
5656{
5757 @:noCompletion private static var __blendMinMaxSupported : Null <Bool >;
58- @:noCompletion private static var __standardDerivativesSupported : Null <Bool >;
5958 @:noCompletion private static var __complexBlendsSupported : Null <Bool >;
6059 @:noCompletion private static var __coherentBlendsSupported : Null <Bool >;
6160 @:noCompletion private static var __sRGBWriteControlSupported : Null <Bool >;
@@ -173,10 +172,6 @@ class OpenGLRenderer extends DisplayObjectRenderer
173172 {
174173 __coherentBlendsSupported = exts .contains (" KHR_blend_equation_advanced_coherent" );
175174 }
176- if (__standardDerivativesSupported == null )
177- {
178- __standardDerivativesSupported = exts .contains (" OES_standard_derivatives" );
179- }
180175
181176 #if (js && html5)
182177 __softwareRenderer = new CanvasRenderer (null );
Original file line number Diff line number Diff line change @@ -627,7 +627,6 @@ class Shader
627627 }
628628
629629 var complexBlendsSupported = OpenGLRenderer .__complexBlendsSupported && isFragment ;
630- var standardDerivativesSupported = OpenGLRenderer .__standardDerivativesSupported && isFragment ;
631630
632631 #if lime
633632 if (__context .__context .type == OPENGL )
@@ -654,11 +653,6 @@ class Shader
654653 #end
655654 }
656655
657- if (standardDerivativesSupported )
658- {
659- extensions + = " #extension GL_OES_standard_derivatives : enable\n " ;
660- }
661-
662656 // #version must be the first directive and cannot be repeated,
663657 // while #extension directives must be before any non-preprocessor tokens.
664658
You can’t perform that action at this time.
0 commit comments