Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualChris528

Posted 05 July 2013 - 04:55 AM


You sound like you want it to fail... maybe if you could explain your logic in wanting this this to happen, if this really is what you want.

 

I was just curious why my app still worked with immediate mode, when I thought immediate mode was dropped sometime after version 3.0. Was it working because I set the version and the core profile after creating the context? when I added that stuff before the creation of the window, the screen just showed up as black. Does that mean its working as intended now and is no longer registering the immediate mode stuff?


#2Chris528

Posted 05 July 2013 - 04:54 AM


You sound like you want it to fail... maybe if you could explain your logic in wanting this this to happen, if this really is what you want.

 

I was just curious why my app still worked with immediate mode, when I thought that stuff was dropped sometime after version 3.0. Was it working because I set the version and the core profile after creating the context? when I added that stuff before the creation of the window, the screen just showed up as black. Does that mean its working as intended now and is no longer registering the immediate mode stuff?


#1Chris528

Posted 05 July 2013 - 04:51 AM


You sound like you want it to fail... maybe if you could explain your logic in wanting this this to happen, if this really is what you want.

 

I was just curious why my app still worked with immediate mode, when i thought that stuff was dropped after version 3.0. Was it working because I added     SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK,SDL_GL_CONTEXT_PROFILE_CORE);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2);

after creating the context?


PARTNERS