better extension loading for the OpenGL wrapper
This commit is contained in:
parent
5a83bd8812
commit
cf06131dec
6 changed files with 40 additions and 10 deletions
|
|
@ -300,7 +300,7 @@ proc MainCommand =
|
|||
#registerPass(rodwrite.rodwritePass())
|
||||
discard CompileModule(options.libpath / "system", {sfSystemModule})
|
||||
service.serve(proc () =
|
||||
let projectFile = gProjectFull
|
||||
let projectFile = mainCommandArg()
|
||||
discard CompileModule(projectFile, {sfMainModule})
|
||||
)
|
||||
else: rawMessage(errInvalidCommandX, command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue