Taking some steps here to address part of #1064 and implement the display functions for xlib using the XRandR extension. I did this because it is pretty much standard and Hugar specifically requested
display_set_sizeand he told me he'd be ok if I use that. I followed this guide from the OpenGL wiki to write the code:
I followed this Linux documentation as well:
Depth switching is not provided by XRandR, so
display_set_colordepth is still not implemented and
display_set_all will ignore that same parameter.
-lXrandr) as a dependency, but only when the user wants to use this extension.
@@ Coverage Diff @@ ## master #1466 +/- ## ======================================= Coverage 17.42% 17.42% ======================================= Files 165 165 Lines 17122 17122 ======================================= Hits 2983 2983 Misses 14139 14139
@JoshDreamland this one is ready to go when you get a chance, thanks!