- Timestamp:
- 09/03/10 00:25:58 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Libs/MaterialSystem/RendererARBprogs/RendererImpl.cpp
r36 r149 48 48 49 49 #include "../Common/OpenGLEx.hpp" 50 #include "ConsoleCommands/Console.hpp" 50 51 #include "Templates/Array.hpp" 51 52 … … 115 116 { 116 117 #ifdef DEBUG 117 printf("\n%s (%u): glGetError() returned error %lu (0x%X).\n", __FILE__, __LINE__, (unsigned long)LastError, LastError);118 Console->Print(cf::va("\n%s (%u): glGetError() returned error %lu (0x%X).\n", __FILE__, __LINE__, (unsigned long)LastError, LastError)); 118 119 #endif 119 120 return false; … … 463 464 464 465 if (Error!=GL_NO_ERROR) 465 printf("glGetError()==%i\n", Error);466 Console->Print(cf::va("glGetError()==%i\n", Error)); 466 467 #endif 467 468 } … … 472 473 void RendererImplT::EndFrame() 473 474 { 474 // printf("%4lu", ShaderChangeCounter);475 // Console->Print(cf::va("%4lu", ShaderChangeCounter)); 475 476 // static int LineWrap=0; 476 477 // LineWrap++; 477 // if (LineWrap==20) { printf("\n"); LineWrap=0; }478 // if (LineWrap==20) { Console->Print("\n"); LineWrap=0; } 478 479 } 479 480 … … 549 550 } 550 551 551 // printf("%lu textures pre-cached.\n", TexMapRepository.Size());552 // Console->Print(cf::va("%lu textures pre-cached.\n", TexMapRepository.Size())); 552 553 } 553 554
