Jump to content
  • Advertisement
Sign in to follow this  
Phong Tran

External 'drawScene' to SDL

This topic is 3484 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I try to send a few glVertex data to my SDL window from the API of maya. The SDL windows are initialized during the 'initialize' function of the plugin. The glVertex data is gathered in another function (called 'compute') of the same class as the initialize function. Since I cannot put all the SDL and OpenGL code into one function due to the API, I try to render glVertexes into an SDL window that has been initialized in a different class function, which obviously doesn't work. So is there a way to send glVertex data to my SDL window that has been intitialized in a different function? I'd appreciate any help, since I'm still a noob in programming Regards, Phong

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!