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

Author Topic: [Solved]Draw texture with opengl in sfml-1.6  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

wizulis

  • Newbie
  • *
  • Posts: 2
    • View Profile
[Solved]Draw texture with opengl in sfml-1.6
« on: February 11, 2012, 09:32:43 am »
Is it possible? In 2.0 one loads a sf::Texture and draws that, but is there a way to do it in 1.6?

I'm new to all of it: graphics programming, opengl sfml, but i would like to learn. I did try to code with the 2.0 api, but stumbled on segfaults related to calling Bind().  (Everything was drawn fine, but program crashes on exit.)

wizulis

  • Newbie
  • *
  • Posts: 2
    • View Profile
[Solved]Draw texture with opengl in sfml-1.6
« Reply #1 on: February 11, 2012, 10:17:06 am »
ahh..somehow did not notice sf::Image

 

anything