diff options
| author | raysan5 <[email protected]> | 2016-12-25 02:01:13 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-12-25 02:01:13 +0100 |
| commit | 852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3 (patch) | |
| tree | 22ef03c6f32341a6847fe3a31afd7d11a1031a84 /src/rlgl.h | |
| parent | 6d6c542a1dabfddc988c20de669c8a5e4d9b04a0 (diff) | |
| download | raylib-852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3.tar.gz raylib-852f3d4fd0eec8fcebcf39dfc19b2ccc5b008ba3.zip | |
Review comments and formatting
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -370,7 +370,7 @@ void rlglLoadExtensions(void *loader); // Load OpenGL extensions unsigned int rlglLoadTexture(void *data, int width, int height, int textureFormat, 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, void *data); // Update GPU texture with new data +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 void rlglLoadMesh(Mesh *mesh, bool dynamic); // Upload vertex data into GPU and provided VAO/VBO ids |
