mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
small package fixes
This commit is contained in:
2
vendor/raylib/raylib.odin
vendored
2
vendor/raylib/raylib.odin
vendored
@@ -1176,7 +1176,7 @@ foreign lib {
|
||||
ColorFromNormalized :: proc(normalized: Vector4) -> Color --- // Returns Color from normalized values [0..1]
|
||||
ColorToHSV :: proc(color: Color) -> Vector3 --- // Returns HSV values for a Color, hue [0..360], saturation/value [0..1]
|
||||
ColorFromHSV :: proc(hue, saturation, value: f32) -> Color --- // Returns a Color from HSV values, hue [0..360], saturation/value [0..1]
|
||||
ColorAlpha :: proc(color: f32, alpha: f32) -> Color --- // Returns color with alpha applied, alpha goes from 0.0f to 1.0f
|
||||
ColorAlpha :: proc(color: Color, alpha: f32) -> Color --- // Returns color with alpha applied, alpha goes from 0.0f to 1.0f
|
||||
ColorAlphaBlend :: proc(dst, src, tint: Color) -> Color --- // Returns src alpha-blended into dst color with tint
|
||||
GetColor :: proc(hexValue: c.int) -> Color --- // Get Color structure from hexadecimal value
|
||||
GetPixelColor :: proc(srcPtr: rawptr, format: PixelFormat) -> Color --- // Get Color from a source pixel pointer of certain format
|
||||
|
||||
4
vendor/sdl2/sdl_render.odin
vendored
4
vendor/sdl2/sdl_render.odin
vendored
@@ -93,8 +93,8 @@ foreign lib {
|
||||
LockTextureToSurface :: proc(texture: ^Texture, rect: ^Rect, surface: ^^Surface) -> c.int ---
|
||||
UnlockTexture :: proc(texture: ^Texture) ---
|
||||
RenderTargetSupported :: proc(renderer: ^PixelFormatEnum) -> bool ---
|
||||
SetRenderTarget :: proc(renderer: ^PixelFormatEnum, texture: ^Texture) -> c.int ---
|
||||
GetRenderTarget :: proc(renderer: ^PixelFormatEnum) -> ^Texture ---
|
||||
SetRenderTarget :: proc(renderer: ^Renderer, texture: ^Texture) -> c.int ---
|
||||
GetRenderTarget :: proc(renderer: ^Renderer) -> ^Texture ---
|
||||
RenderSetLogicalSize :: proc(renderer: ^Renderer, w, h: c.int) -> c.int ---
|
||||
RenderGetLogicalSize :: proc(renderer: ^Renderer, w, h: ^c.int) ---
|
||||
RenderSetIntegerScale :: proc(renderer: ^Renderer, enable: bool) -> c.int ---
|
||||
|
||||
2
vendor/stb/src/Makefile
vendored
2
vendor/stb/src/Makefile
vendored
@@ -6,7 +6,7 @@ all:
|
||||
ar rcs ../lib/stb_image_resize.a stb_image_resize.o
|
||||
ar rcs ../lib/stb_truetype.a stb_truetype.o
|
||||
ar rcs ../lib/stb_rect_pack.a stb_rect_pack.o
|
||||
ar rcs ../lib/stb_vorbis_pack.a stb_vorbis_pack.o
|
||||
#ar rcs ../lib/stb_vorbis_pack.a stb_vorbis_pack.o
|
||||
#gcc -fPIC -shared -Wl,-soname=stb_image.so -o ../lib/stb_image.so stb_image.o
|
||||
#gcc -fPIC -shared -Wl,-soname=stb_image_write.so -o ../lib/stb_image_write.so stb_image_write.o
|
||||
#gcc -fPIC -shared -Wl,-soname=stb_image_resize.so -o ../lib/stb_image_resize.so stb_image_resize.o
|
||||
|
||||
Reference in New Issue
Block a user