Browse Source

Nothing worth mentioning

Panagiotis Christopoulos Charitos 15 years ago
parent
commit
dc6ad1711c
3 changed files with 344 additions and 380 deletions
  1. 339 377
      build/debug/Makefile
  2. 2 0
      src/Renderer2/Dbg.cpp
  3. 3 3
      src/Renderer2/Renderer.cpp

File diff suppressed because it is too large
+ 339 - 377
build/debug/Makefile


+ 2 - 0
src/Renderer2/Dbp.cpp → src/Renderer2/Dbg.cpp

@@ -50,6 +50,8 @@ void Renderer::Dbg::init()
 //=====================================================================================================================================
 void Renderer::Dbg::run()
 {
+	if( !enabled ) return;
+
 	const Camera& cam = *r.cam;
 
 	fbo.bind();

+ 3 - 3
src/Renderer2/Renderer.cpp

@@ -17,12 +17,12 @@ float Renderer::quadVertCoords [][2] = { {1.0,1.0}, {0.0,1.0}, {0.0,0.0}, {1.0,0
 // Constructor                                                                                                                        =
 //=====================================================================================================================================
 Renderer::Renderer():
+	width( 640 ),
+	height( 480 ),
 	ms( *this ),
 	is( *this ),
 	pps( *this ),
-	dbg( *this ),
-	width( 640 ),
-	height( 480 )
+	dbg( *this )
 {
 }
 

Some files were not shown because too many files changed in this diff