Update raylib binding.

This commit is contained in:
TSnake41 2020-06-25 17:25:59 +02:00
parent bd16e03fba
commit 30433e3f14
3 changed files with 4 additions and 2 deletions

2
raylib

@ -1 +1 @@
Subproject commit 4f569813d2906b09edfd97e6617e6900caa4d1bb Subproject commit a2a120bd63ecf622bf27678f3fb72f6bc0c4b42b

View File

@ -24,6 +24,7 @@ int GetMonitorWidth(int monitor)
int GetMonitorHeight(int monitor) int GetMonitorHeight(int monitor)
int GetMonitorPhysicalWidth(int monitor) int GetMonitorPhysicalWidth(int monitor)
int GetMonitorPhysicalHeight(int monitor) int GetMonitorPhysicalHeight(int monitor)
int GetMonitorRefreshRate(int monitor)
Vector2 GetWindowPosition(void) Vector2 GetWindowPosition(void)
Vector2 GetWindowScaleDPI(void) Vector2 GetWindowScaleDPI(void)
const char *GetMonitorName(int monitor) const char *GetMonitorName(int monitor)
@ -201,6 +202,7 @@ int GetPixelDataSize(int width, int height, int format)
Image GetTextureData(Texture2D texture) Image GetTextureData(Texture2D texture)
Image GetScreenData(void) Image GetScreenData(void)
void UpdateTexture(Texture2D texture, const void *pixels) void UpdateTexture(Texture2D texture, const void *pixels)
void UpdateTextureRec(Texture2D texture, Rectangle rec, const void *pixels)
Image ImageCopy(Image image) Image ImageCopy(Image image)
Image ImageFromImage(Image image, Rectangle rec) Image ImageFromImage(Image image, Rectangle rec)
void ImageToPOT(Image *image, Color fillColor) void ImageToPOT(Image *image, Color fillColor)

View File

@ -53,7 +53,7 @@ Vector3 rlUnproject(Vector3 source, Matrix proj, Matrix view)
unsigned int rlLoadTexture(void *data, int width, int height, int format, int mipmapCount) unsigned int rlLoadTexture(void *data, int width, int height, int format, int mipmapCount)
unsigned int rlLoadTextureDepth(int width, int height, int bits, bool useRenderBuffer) unsigned int rlLoadTextureDepth(int width, int height, int bits, bool useRenderBuffer)
unsigned int rlLoadTextureCubemap(void *data, int size, int format) unsigned int rlLoadTextureCubemap(void *data, int size, int format)
void rlUpdateTexture(unsigned int id, int width, int height, int format, const void *data) void rlUpdateTexture(unsigned int id, int offsetX, int offsetY, int width, int height, int format, const void *data)
void rlGetGlTextureFormats(int format, unsigned int *glInternalFormat, unsigned int *glFormat, unsigned int *glType) void rlGetGlTextureFormats(int format, unsigned int *glInternalFormat, unsigned int *glFormat, unsigned int *glType)
void rlUnloadTexture(unsigned int id) void rlUnloadTexture(unsigned int id)
void rlGenerateMipmaps(Texture2D *texture) void rlGenerateMipmaps(Texture2D *texture)