better extension loading for the OpenGL wrapper

This commit is contained in:
Araq 2012-10-09 17:11:33 +02:00
commit cf06131dec
6 changed files with 40 additions and 10 deletions

View file

@ -62,6 +62,7 @@ proc serve*(action: proc (){.nimcall.}) =
server.bindAddr(port, getConfigVar("server.address"))
var inp = "".TaintedString
server.listen()
new(stdoutSocket)
while true:
accept(server, stdoutSocket)
discard stdoutSocket.recvLine(inp)