Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: C++/OpenGL/SDL

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    5

    Exclamation C++/OpenGL/SDL

    What do i need in my code file to allow OpenGL in SDL to run OpenGL code.

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2010
    Posts
    16
    you sound confused, haha

    May I recommend you try Code::Blocks IDE with MinGW compiler included?
    Also, you may find SFML more useful and friendly than SDL.

    think of SDL, or SFML, as a container for your program to run in. It makes things you would want to do with OpenGL, easier to do.


    http://sfml-dev.org/tutorials/1.6/window-opengl.php

    There is a nice easy example program that lets you just head first into OpenGL.
    If you'd like some help setting up your development environment, let me know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •