summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-04-25 19:35:23 +0200
committerRay <[email protected]>2022-04-25 19:35:23 +0200
commitbdfa256ceaa440ccb16428900cb7e75aa2edb2b1 (patch)
treec1952e1c0697a55c9d29664935892e2299e78e27
parent6e722d416b3f1ab36cc9ea1defb958210e093ee9 (diff)
downloadraylib-bdfa256ceaa440ccb16428900cb7e75aa2edb2b1.tar.gz
raylib-bdfa256ceaa440ccb16428900cb7e75aa2edb2b1.zip
Update rlgl.h
-rw-r--r--src/rlgl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 787cf7ed..5783a298 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -598,9 +598,9 @@ RLAPI void rlglInit(int width, int height); // Initialize rlgl (buffer
RLAPI void rlglClose(void); // De-inititialize rlgl (buffers, shaders, textures)
RLAPI void rlLoadExtensions(void *loader); // Load OpenGL extensions (loader function required)
RLAPI int rlGetVersion(void); // Get current OpenGL version
-RLAPI int rlSetFramebufferWidth(int width); // Set current framebuffer width
+RLAPI void rlSetFramebufferWidth(int width); // Set current framebuffer width
RLAPI int rlGetFramebufferWidth(void); // Get default framebuffer width
-RLAPI int rlSetFramebufferHeight(int height); // Set current framebuffer height
+RLAPI void rlSetFramebufferHeight(int height); // Set current framebuffer height
RLAPI int rlGetFramebufferHeight(void); // Get default framebuffer height
RLAPI unsigned int rlGetTextureIdDefault(void); // Get default texture id
@@ -2223,7 +2223,7 @@ int rlGetVersion(void)
}
// Set current framebuffer width
-int rlSetFramebufferWidth(int width)
+void rlSetFramebufferWidth(int width)
{
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
RLGL.State.framebufferWidth = width;
@@ -2231,7 +2231,7 @@ int rlSetFramebufferWidth(int width)
}
// Set current framebuffer height
-int rlSetFramebufferHeight(int height)
+void rlSetFramebufferHeight(int height)
{
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
RLGL.State.framebufferHeight = height;