[uae] Re: New source snapshot and OS X/PPC build

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Sat, 2 Dec 2006 13:56:12 -0500

Hi Giancarlo

On Saturday 02 December 2006 10:29, Giancarlo Erra wrote:
> Ok I'm replying myself ...just checked. I launched last binary without the
> GL option and I got my old speed euae..launching with new GL option is a
> way faster! IT WORKS!

:-)

> OSX 10.3.9 on Pbook 1ghz
>
>
> I downloaded the source too, tried compiling (I also compiled my old
> binary) enabling sdl Gl but failed with this error:
>
> sdlgfx.c: In function `init_gl_display':
> sdlgfx.c:429: error: `GL_TEXTURE_RECTANGLE_ARB' undeclared (first use in
> this function) sdlgfx.c:429: error: (Each undeclared identifier is reported
> only once sdlgfx.c:429: error: for each function it appears in.)
> sdlgfx.c: In function `alloc_gl_buffer':
> sdlgfx.c:459: error: `GL_TEXTURE_RECTANGLE_ARB' undeclared (first use in
> this function) make[3]: *** [sdlgfx.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
>
> Any hint? Launched configure enabling sdl-sound and sdl-gl

The configure script doesn't do much error checking for GL support at the 
moment. You probably need to use the --with-sdl-gfx option too:

./configure --with-sdl-gfx --with-sdl-gl --with-sdl-sound

> About vsync, it seems not working .... I got this error
>
> SDLGFX: vsynced output not supported.
> SDLGFX: Using double-buffered, unsynced output.
> SDLGFX: Failed to allocate texture.
> reset at 0
> PAL mode, 50Hz (h=227 v=312)
> chipmem cleared
> Bus error

:-(

Are you using SDL >= 1.2.10? If not, then vsync won't work in GL mode.

I need to clean up the error handling...

Cheers,
Rich

Other related posts: