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

Author Topic: sf::RenderTexture problem  (Read 7996 times)

0 Members and 2 Guests are viewing this topic.

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: sf::RenderTexture problem
« Reply #15 on: August 03, 2014, 04:21:33 pm »
Just for the people who are still clueless because they didn't follow the chain of links AlexAUT provided:

This was fixed in e6b5ce1f27d22aa0150c1376550b2e3f1baec09a a few months ago.

This fix is not in SFML 2.1, so if you can't or don't want to use the latest master, then yes, you will need this "fix".
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

Hapax

  • Hero Member
  • *****
  • Posts: 3362
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: sf::RenderTexture problem
« Reply #16 on: August 03, 2014, 05:52:01 pm »
My fault. I didn't spot that it was fixed inside SFML already.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: sf::RenderTexture problem
« Reply #17 on: August 03, 2014, 07:38:31 pm »
OP said the latest sources didn't solve his problem.
Laurent Gomila - SFML developer

fr33k

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sf::RenderTexture problem
« Reply #18 on: August 03, 2014, 09:17:07 pm »
I compiled sources (CMAKE + C::B), created new sfml project in C::B, tried and I have the same problem as before (without resetGLStates()). Maybe I'm doing something wrong, but I didn't want to mislead anyone.  :-X
Or sources from this page, is not what I had to compile: http://sfml-dev.org/download.php???
If I must get it directly from github, then I'll try again. In edit I'll write if it's working or not.

Strelok

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • GitHub
Re: Re: sf::RenderTexture problem
« Reply #19 on: August 03, 2014, 09:20:43 pm »
I compiled sources (CMAKE + C::B), created new sfml project in C::B, tried and I have the same problem as before (without resetGLStates()). Maybe I'm doing something wrong, but I didn't want to mislead anyone.  :-X
Or sources from this page, is not what I had to compile: http://sfml-dev.org/download.php???
If I must get it directly from github, then I'll try again. In edit I'll write if it's working or not.
The latest stable version (2.1) is far behind from the master branch, clone the repository and try that. I've never tried the snapshots from the site though.

fr33k

  • Newbie
  • *
  • Posts: 16
    • View Profile

kralo9

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • Email
I'm totally exhausted. I've got 3 children and no money! Why can't I have no children and 3 money? - Homer S.

fr33k

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: sf::RenderTexture problem
« Reply #22 on: August 03, 2014, 10:12:10 pm »
Yes, I did.
EDIT: New informations, I setted project to dynamic libs and indeed it's  working without glResetStates().
« Last Edit: August 03, 2014, 10:18:56 pm by fr33k »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: sf::RenderTexture problem
« Reply #23 on: August 03, 2014, 10:52:43 pm »
Quote
Or sources from this page, is not what I had to compile: http://sfml-dev.org/download.php ?
Yeah, compiling the sources of SFML 2.1 is not going to give you something different than the compiled release of SFML 2.1... ;)
When we talk about the latest sources, we mean the current source code as it is today, from the development repository.

Anyway, thanks for doing it and confirming that the bug it fixed :)
Laurent Gomila - SFML developer

 

anything