How many lines to implement OpenGL 2.0 (non ES) ?
You also need to implement multitexturing (probably the easy part) but also all the texture combiner stuff too. This one is not hard but also a good chunk of code...
All in all, at least 40K if you ask me, but that's a very lowball estimate.
Of course if you don't care about implementing the full spec, you can get away with a lot less.
nnevatie•1h ago
Pannoniae•1h ago
In a similar way, this implements just enough so Raylib's OpenGL backend can run! It was done so you can use the library without external graphics dependencies if you really want to.
furyofantares•17m ago
Pannoniae•13m ago