tinygl
tinygl copied to clipboard
The penultimate portable graphics library
Thanks for your improvements to tinygl. I make a android demo here : https://github.com/c0i/tinygl.android. And use premake5 to generate visual studio project: https://github.com/c0i/TinyGL.ex
I found a global buffer overflow on glMaterialfv. It define shininess as a global variable. https://github.com/C-Chads/tinygl/blob/a256a597ea623ff8972fe332e7c9f352e9f36c20/Raw_Demos/gears.c#L252 And run glMaterialfv. https://github.com/C-Chads/tinygl/blob/a256a597ea623ff8972fe332e7c9f352e9f36c20/Raw_Demos/gears.c#L273 But in glMaterialfv, it try to read shininess[1] to shininess[3],...
Hi! Pretty awesome additions you have made to TinyGL! I really like it! My only issue is, I procedurally generate textures with uint32_t pixels and I cannot load that. So...
This matches how CMake behaves, and fixes compilation when SDL is installed in a non-default location.