Closed nlbuescher closed 4 years ago
kgl-opengl
doesn't have JVM counterpart, mostly because I haven't gotten around to it. I guess from lack of demand, since I don't use it myself.
The aim was to solve the common issue of not being able to easily use OpenGL from Kotlin/Native and after that I called it a day.
Commonizes the Simple sample implementation. Currently works and compiles on Native and JVM.
Questions raised while implementing this PR:
common
functions are not provided bykgl-opengl
lwjgl
directly rather than havingkgl
provide the dependencies (this goes for the imgui project in general)kgl-opengl
doesn't seem to provide OpenGL functions on JVM? Removing thelwjgl
dependency shows thecom.kgl.opengl
package, but functions likeglClear
andglClearColor
can't be used from that package.