Orbit-Hopper Bugfix Print
Written by Administrator   
Saturday, 13 June 2009 19:49

I just discovered a bug while trying to get Orbit-Hopper to run on another notebook. If you are familiar with C++ compiling (or even if you aren't but know how to install make, g++, and the sdl development libraries), the following small change in Game.cpp (located in /source) will fix a crash during game start:

Move the line "glBindFramebufferEXT(GL_FRAMEBUFFER_EXT,0);" up a few lines, right after the "applyBloom();" call and before the closing "}"-bracket.

Your Game.cpp file should look somewhat like this:

 

...


        applyBloom();
        glBindFramebufferEXT(GL_FRAMEBUFFER_EXT,0);   
    }

   
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);         
    glLoadIdentity();
    glColor3f(1.0f,1.0f,1.0f);

 ...

 

Save and recompile to enjoy Orbit-Hopper on machines without shader support.

I will upload a fixed version of the binaries in a couple of days once I get home.

 

Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Saturday, 13 June 2009 20:02 )