mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: allow !
only with bools
This commit is contained in:

committed by
Alexander Medvednikov

parent
c01edc650d
commit
f1d5f8e2bf
@@ -10,7 +10,7 @@ module gl
|
||||
|
||||
pub fn init_glad() {
|
||||
ok := C.gladLoadGL()
|
||||
if !ok {
|
||||
if isnil(ok) {
|
||||
println('Failed to initialize glad OpenGL context')
|
||||
exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user