Jump to content

  • Log In with Google      Sign In   
  • Create Account


open window from opengl app


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 FGFS   Members   -  Reputation: 176

Like
0Likes
Like

Posted 27 September 2013 - 05:33 AM

HI

how to open a sdl2 window from a opengl app (x-plane plugin)? With the code below I get a crash after the delay.

Many thanks

 

http://wiki.libsdl.org/SDL_CreateWindow

 

 



Sponsor:

#2 szymczyk   Members   -  Reputation: 182

Like
0Likes
Like

Posted 30 September 2013 - 11:35 AM

I don't know why the code sample from the SDL wiki crashes, but the following article may help you:

 

Creating an OpenGL Context in SDL 2

 


Mark Szymczyk
Author of Mac Game Programming and Xcode Tools Sensei
http://www.meandmark.com

#3 FGFS   Members   -  Reputation: 176

Like
0Likes
Like

Posted 01 October 2013 - 01:59 AM

Went back to 1.2...

Now I don't need a window, well maybe a child window or something alike anttweakbar but using the already existing opengl window.


Edited by FGFS, 01 October 2013 - 08:22 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS