Render functions don't always work
Some of the render functions that are calling OpenGL underneath seem to work on about 50% of machines I've tested on. In failing, they just do nothing!
- Ubuntu 13.04 x64 - works (Nvidia 550 Ti)
- win7x32 VM (on the above Ubuntu machine) - works
- win7x64 - fails (Nvidia GTX560)
- win7x64 - fails
- win8x64 - works
The specific methods that fail are:
- setting RenderContext.color (which uses SDL_SetRenderDrawColor)
I'm creating the Window as a OPENGL, but not using any of my own OpenGL. On the machines that fail with these methods, they also fail/do nothing if I use any pyopengl function within the SDL application. However, those same machine correctly run pyopengl functions under a GLUT window.
SDL_SetRenderTarget() does work on all machines though.
Window created with: SDL_WINDOW_OPENGL|SDL_WINDOW_RESIZABLE Renderer created with: SDL_RENDERER_ACCELERATED|SDL_RENDERER_PRESENTVSYNC
Sorry if this is my fault (or sdl2's fault rather than pysdl2's), but I can't guess what is wrong here...