Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Radeon Shaders Broken.
07-20-2010, 01:36 PM,
#3
 
I actually tried something a bit different... I changed that statement to this:
Code:
    else if (!GLEW_ARB_framebuffer_object && !glewGetExtension("GL_ARB_framebuffer_object"))
    {
        info_output << "Your video card doesn't support framebuffer objects.  Disabling shaders." << endl;
        DisableShaders(shaderpath, error_output);
    }

and in fbobject.cpp i changed the assert:
Code:
    //initialize framebuffer object (FBO)
    //assert(GLEW_ARB_framebuffer_object);
    assert(glewGetExtension("GL_ARB_fragment_program"));

after these two changes, the program ran properly.

also as a quick note, on ubuntu 10.04 a header (namely, asio.hpp) is missing unless libasio-dev is installed.
Reply


Messages In This Thread
Radeon Shaders Broken. - by Dandel - 07-20-2010, 11:35 AM
[No subject] - by NaN - 07-20-2010, 12:51 PM
[No subject] - by Dandel - 07-20-2010, 01:36 PM
[No subject] - by NaN - 07-20-2010, 01:47 PM
[No subject] - by Dandel - 07-20-2010, 03:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-20-2010, 10:34 PM
[No subject] - by Dandel - 07-21-2010, 01:33 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-24-2010, 11:19 AM
[No subject] - by Dandel - 07-24-2010, 11:23 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-24-2010, 02:56 PM
[No subject] - by Dandel - 07-24-2010, 04:33 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-24-2010, 07:33 PM
[No subject] - by Dandel - 07-25-2010, 11:34 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-27-2010, 09:57 PM
[No subject] - by Dandel - 08-03-2010, 12:10 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-04-2010, 12:51 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-08-2010, 12:51 PM
[No subject] - by ilguido - 09-19-2010, 12:24 PM
[No subject] - by Dandel - 09-30-2010, 10:07 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-04-2010, 10:43 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)