Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Graphics vs window based  (Read 2302 times)

0 Members and 1 Guest are viewing this topic.

wvtrammell

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
Graphics vs window based
« on: January 27, 2011, 05:26:13 pm »
I have done some simple C++ on a MAC with an Intel processor and now wish to try SFML.  I down loaded and installed and down loaded the tutorial Getting Started.  It is very good but I have one question.  What determines whether I choose Graphics based or Window based option?
Thanks
Warren Trammell

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Graphics vs window based
« Reply #1 on: January 27, 2011, 05:59:42 pm »
The window module is only able to create a window with an OpenGL context inside. Then it's up to you to draw inside it with OpenGL.

The graphics module provides higher-level 2D primitives so that you don't have to use OpenGL to draw stuff.
Laurent Gomila - SFML developer

wvtrammell

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
Thanks
« Reply #2 on: January 27, 2011, 06:37:14 pm »
Thank you
Warren

 

anything