@@ -15,6 +15,8 @@ when defined(mingw):
1515{.passC : " -I" & raylibDir.string .}
1616{.passC : " -I" & string (raylibDir / Path " external/glfw/include" ).}
1717{.passC : " -Wall -D_GNU_SOURCE -Wno-missing-braces -Werror=pointer-arith" .}
18+ when not defined (vcc):
19+ {.passC : " -Wall -D_GNU_SOURCE -Wno-missing-braces -Werror=pointer-arith" .}
1820when defined (emscripten):
1921 {.passC : " -DPLATFORM_WEB" .}
2022 when defined (GraphicsApiOpenGlEs3 ):
7072
7173 when defined (windows):
7274 when defined (tcc): {.passL : " -lopengl32 -lgdi32 -lwinmm -lshell32" .}
75+ elif defined (vcc): {.passL : " opengl32.lib gdi32.lib winmm.lib user32.lib shell32.lib" .}
7376 else : {.passL : " -static-libgcc -lopengl32 -lgdi32 -lwinmm" .}
7477
7578 elif defined (macosx):
@@ -1416,7 +1419,7 @@ proc drawTexture*(texture: Texture2D, source: Rectangle, position: Vector2, tint
14161419 # # Draw a part of a texture defined by a rectangle
14171420proc drawTexture * (texture: Texture2D , source: Rectangle , dest: Rectangle , origin: Vector2 , rotation: float32 , tint: Color ) {.importc : " DrawTexturePro" , sideEffect .}
14181421 # # Draw a part of a texture defined by a rectangle with 'pro' parameters
1419- proc drawTextureNPatch * (texture: Texture2D , nPatchInfo: NPatchInfo , dest: Rectangle , origin: Vector2 , rotation: float32 , tint: Color ) {.importc : " DrawTextureNPatch" , sideEffect .}
1422+ proc drawTexture * (texture: Texture2D , nPatchInfo: NPatchInfo , dest: Rectangle , origin: Vector2 , rotation: float32 , tint: Color ) {.importc : " DrawTextureNPatch" , sideEffect .}
14201423 # # Draws a texture (or part of it) that stretches or shrinks nicely
14211424func colorNormalize * (color: Color ): Vector4 {.importc : " ColorNormalize" .}
14221425 # # Get Color normalized as float [0..1]
0 commit comments