summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-04-24 00:18:53 +0200
committerGitHub <[email protected]>2017-04-24 00:18:53 +0200
commit71fe3c0b086c9cf7707d9ef455c57360f88be8a1 (patch)
tree1d1b7dfc780fd6049f68b5d69d9194add1302dfd /src/rlgl.h
parent0ed82150f0228c949c36f9ee83d4c2e0c92f9d0e (diff)
parent9a515ae9db9f63d5bfa8545cfbbfdce683daf5f6 (diff)
downloadraylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.tar.gz
raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.zip
Merge pull request #269 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index a870a907..f3fd6b22 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -366,7 +366,7 @@ void rlglClose(void); // De-init rlgl
void rlglDraw(void); // Draw VAO/VBO
void rlglLoadExtensions(void *loader); // Load OpenGL extensions
-unsigned int rlglLoadTexture(void *data, int width, int height, int textureFormat, int mipmapCount); // Load texture in GPU
+unsigned int rlglLoadTexture(void *data, int width, int height, int format, int mipmapCount); // Load texture in GPU
RenderTexture2D rlglLoadRenderTexture(int width, int height); // Load a texture to be used for rendering (fbo with color and depth attachments)
void rlglUpdateTexture(unsigned int id, int width, int height, int format, const void *data); // Update GPU texture with new data
void rlglGenerateMipmaps(Texture2D *texture); // Generate mipmap data for selected texture