go-gl-legacy / glfw

Go bindings for libglfw 2.x
http://www.glfw.org
BSD 3-Clause "New" or "Revised" License
73 stars 8 forks source link

Draw example has strange effects on AMD drivers on Mint #39

Closed UserAB1236872 closed 10 years ago

UserAB1236872 commented 11 years ago

I installed the AMD fglrx 13.1 drivers, all the examples in go-gl/examples/glfw seem to work fine except for draw. You can see the problem here:

http://i410.photobucket.com/albums/pp183/Jragonmiris/Screenshotfrom2013-02-21184316_zps1a3f49a1.png

The white "canvas" is slightly to the bottom right of where it should be. Resizing the window makes the whole thing white, but doesn't solve the other problem: the mouse coordinates appear to be at the bottom right corner of the cursor, rather at the tip. (Meaning, it draws slightly right and to the bottom of where it should draw).

I'm not sure if this is just a problem with fglrx or a problem with the package (or with the actual, unwrapped glfw).

ghost commented 11 years ago

My first guess would be something about the projection matrix not being correct. But that should be evident on all platforms running the example, regardless of drivers.

If it is an issue with the drivers, there's not much I can do to help. I can't test it either, as I amusing nvidia myself. If it is a driver issue though, I wonder why it is only visible in the draw example and not the others.

Some input from other users with these drivers would probably help clarify things.

pwaller commented 10 years ago

I'm closing this issue since it is very old. If there are still people having this problem please comment and we'll reopen.