Dgame revived

Gan via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Feb 23 15:48:00 PST 2015


On Monday, 23 February 2015 at 23:24:02 UTC, Namespace wrote:
>> Doesn't work. Still gives the same OpenGL too low error. I 
>> think you need to place the lines
>> SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
>> 			SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
>> 			SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, 
>> SDL_GL_CONTEXT_PROFILE_CORE);
>> 			SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, 
>> SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG);
>>
>> before window creation.
>
> Could you try it and say if it helps?

Placing the lines before window creation actually allows it to 
run on a Mac. Though there's still the error of blank white 
screen:
http://cl.ly/image/382C28363U41


More information about the Digitalmars-d-announce mailing list