mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: error on unused imports
This commit is contained in:

committed by
Alexander Medvednikov

parent
71484e89d6
commit
23c84516e2
@ -4,7 +4,7 @@
|
||||
|
||||
module gl
|
||||
|
||||
import os
|
||||
// import os
|
||||
import gx
|
||||
import glm
|
||||
|
||||
|
@ -8,6 +8,9 @@ module gl
|
||||
#include "glad.h"
|
||||
#flag @VROOT/thirdparty/glad/glad.o
|
||||
|
||||
// joe-c: fix & remove
|
||||
enum TmpGlImportHack{}
|
||||
|
||||
pub fn init_glad() {
|
||||
ok := C.gladLoadGL()
|
||||
if isnil(ok) {
|
||||
|
Reference in New Issue
Block a user