project_files/Android-build/gles11.pp
branchhedgeroid
changeset 5344 893e49c53c41
parent 5301 690e88ef6ee7
child 5621 ea796c83ea47
--- a/project_files/Android-build/gles11.pp	Fri Jun 24 09:54:39 2011 +0200
+++ b/project_files/Android-build/gles11.pp	Fri Jun 24 13:12:52 2011 +0200
@@ -777,7 +777,7 @@
 implementation
 
   uses
-    SysUtils, dynlibs, uConsole;
+    SysUtils, dynlibs;
 
   var
     hlib : tlibhandle;
@@ -937,14 +937,11 @@
   procedure Loadgles11(lib : pchar);
     begin
       Freegles11;
-      WriteToConsole('loading lib');
       hlib:=LoadLibrary(lib);
       if hlib=0 then
 	begin
-         WriteToConsole('crash');
          raise Exception.Create(format('Could not load library: %s',[lib]));
 	end;
-      WriteToConsole('succeeded');
       pointer(glAlphaFunc):=GetProcAddress(hlib,'glAlphaFunc');
       pointer(glClearColor):=GetProcAddress(hlib,'glClearColor');
       pointer(glClearDepthf):=GetProcAddress(hlib,'glClearDepthf');
@@ -1094,7 +1091,6 @@
 
 procedure init;
 begin
-  WriteToConsole('init');
     Loadgles11('libGLESv1_CM.so');
 end;