Explorar o código

fix virtual alloc

Nicolas Cannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
5a814afef7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/pass/ScreenFx.hx

+ 1 - 1
h3d/pass/ScreenFx.hx

@@ -32,7 +32,7 @@ class ScreenFx<T:hxsl.Shader> {
 	}
 
 	public function removeShader(s:hxsl.Shader) {
-		var prev = null;
+		var prev : hxsl.ShaderList = null;
 		var cur = shaders;
 		while( cur != null ) {
 			if( cur.s == s ) {