The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2024, 04:48:10 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

  Show Posts
Pages: [1]
1  The Ur-Quan Masters Re-Release / Technical Issues / Re: Changing resolution scrambles display on: November 24, 2007, 11:15:07 pm
I got the same problem with the Radeon driver

    OpenGL renderer string: Mesa DRI R200 20060602 AGP 4x x86/MMX/SSE2 NO-TCL
    OpenGL version string: 1.3 Mesa 6.5.2

I could fix it by changing:

    glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, texture_width, ...
to
    glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, texture_width, ...

in src/sc2code/libs/graphics/sdl/opengl.c

There seems to be a bug with glTexSubImage2D when src and dst format differ.

Ciao, ET.
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!