Re: Inverting draw mode?
"rtrussell" <[email protected]> Wed, 14 Dec 2016 09:19:58 +0000
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
joymaker wrote: > So I think you're telling me that setting up the OpenGL LogicOp will modify ALL drawing done through the window, SDL primitives as well as OpenGL primitives. Right? Yes, SDL drawing operations such as SDL_RenderDrawPoint, SDL_RenderDrawLine and those in SDL_gfx will be affected by the LogicOp. For safety I would recommend enabling and setting the LogicOp only around such calls rather than leaving it active for longer periods, just in case it interferes with anything else in SDL. > (And is there any significant downside to specifying "opengl" as my driver, instead of the usual default?) Only in Windows is OpenGL/GLES not the default, I think, and I've not noticed any significant impact from forcing its use. Richard. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org