HackerPoet / NonEuclidean

A Non-Euclidean Rendering Engine for 3D scenes.
MIT License
6.07k stars 578 forks source link

Fix #11 (memory leak) and #52 ("gl_" are reserved) #58

Open hatrd opened 1 year ago

hatrd commented 1 year ago

Fix #11 (memory leak) and #52 (identifiers starting with "gl_" are reserved). Added destructors of FrameBuffer and Texture to release OpenGL resources properly. Renamed gl_FragColor to FragColor for consistency with OpenGL naming conventions. Hope to be helpful to you : )