chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] SDL egg: SDL_GL_SwapBuffers() not implemented?


From: felix winkelmann
Subject: Re: [Chicken-users] SDL egg: SDL_GL_SwapBuffers() not implemented?
Date: Tue, 3 Feb 2009 14:40:23 +0100

On Tue, Feb 3, 2009 at 2:08 PM, Koen Weddepohl <address@hidden> wrote:
> Greetings,
>
> I'm interested in using Chicken for homebrew game development.
>
> Anyway, I've been trying to get the SDL egg to work with the OpenGL egg.
> However, I can't get any OpenGL graphics to display. I think this is because
> I can't find an equivalent for SDL_GL_SwapBuffers() in the SDL bindings. Am
> I correct in thinking this is function is not implemented in the SDL egg?
>

Hi, Koen!

This may very well be the case. I'll try to add this, ASAP.

Note that you can get access to this function quickly using

#>
#include <SDL/SDL.h>
<#

(define sdl:gl-swap-buffers
  (foreign-lambda void "SDL_GL_SwapBuffers"))


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]