1
Graphics / Re: png Transparency problem in sfml2
« on: August 27, 2012, 10:49:26 am »
pdinklag, I did not know that leaving the alpha channel to defaults when clearing was the norm, I will do that in the future though. Unfortunately it seems to have no effect on the problem.
eXpl0it3r, I ran your code and the output was 8 in linux. In windows it just said "undefined reference to 'glGetIntegerv@8' " which I will try to figure out later. I have not used windows for development much, so there is probably just something missing.
I just ran the exact same code, with the same png in windows 7, and everything works fine. I also tried it on a computer with an Nvidia card in linux and it works. My main computer has a fairly new AMD card, which generally means you are going to have a plethora of driver issues, but I still hope I can find a way to get this working. I will keep playing with drivers and SFML builds to see if I can get this working properly.
eXpl0it3r, I ran your code and the output was 8 in linux. In windows it just said "undefined reference to 'glGetIntegerv@8' " which I will try to figure out later. I have not used windows for development much, so there is probably just something missing.
I just ran the exact same code, with the same png in windows 7, and everything works fine. I also tried it on a computer with an Nvidia card in linux and it works. My main computer has a fairly new AMD card, which generally means you are going to have a plethora of driver issues, but I still hope I can find a way to get this working. I will keep playing with drivers and SFML builds to see if I can get this working properly.