hedgewars/uStore.pas
branchwebgl
changeset 8336 4877d7333818
parent 8330 aaefa587e277
child 8444 75db7bb8dce8
--- a/hedgewars/uStore.pas	Sun Dec 30 09:23:30 2012 -0500
+++ b/hedgewars/uStore.pas	Sun Dec 30 09:24:30 2012 -0500
@@ -740,7 +740,7 @@
     logLength: GLint;
     log: PChar;
 begin
-    Assign(f, Pathz[ptShaders] + '/' + shaderFile);
+    Assign(f, PathPrefix + cPathz[ptShaders] + '/' + shaderFile);
     filemode:= 0; // readonly
     Reset(f);
     if IOResult <> 0 then
@@ -758,7 +758,7 @@
 
     Close(f);
 
-    WriteLnToConsole('Compiling shader: ' + Pathz[ptShaders] + '/' + shaderFile);
+    WriteLnToConsole('Compiling shader: ' + PathPrefix + cPathz[ptShaders] + '/' + shaderFile);
 
     sourceA:=PChar(source);
     lengthA:=Length(source);