Remember me

Lost Password?

Register now!
Who's Online
60 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 59

Paul, more...
Support us!
Recent OS4 Files
Report message:*

Re: SDL2

Subject: Re: SDL2
by kas1e on 2019/3/30 11:38:55

Is there anything worth of looking in SDL2, which can cause that to fail:

int dblbuf 0;
    if ((
SDL_GL_GetAttribute(SDL_GL_DOUBLEBUFFER, &dblbuf) == -1) || (!dblbuf)) {
fprintf(stderr"Failed to get a double-buffered context.n");

? I just have for SDL2/minigl build of Lugaru game "failed to get a double-buffered context".

I just checking the old Lugaru sources from os4depot (minigl build), and MickJt there also commenting out this part to make it works.

At time when he port it it was SDL1, but now i build SDL2 version, and it have the same issue with SDL2 too (or with minigl, dunno).

gl4es build works with the same code fine, through, so it maybe minigl and not sdls..
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project