Export error code field.
This commit is contained in:
parent
0706e88020
commit
28cc673b7e
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ proc getGlError*: TGlError = glGetError().TGlError
|
|||
|
||||
type
|
||||
E_GL* = object of E_Base
|
||||
code: TGlError
|
||||
code*: TGlError
|
||||
|
||||
proc checkGlError =
|
||||
let error = getGlError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue