# HG changeset patch # User Xeli # Date 1308913972 -7200 # Node ID 893e49c53c416797fe523d00305d681ca5cb9fb7 # Parent 479b4108789ad471d73a9f799e720f4d13c95353 Removed WriteToConsole debugging lines diff -r 479b4108789a -r 893e49c53c41 project_files/Android-build/gles11.pp --- 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;