diff options
| author | raysan5 <raysan5@gmail.com> | 2016-01-04 15:09:44 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-01-04 15:09:44 +0100 |
| commit | 95da97fa744766fb46b912dcae504cd858fd2377 (patch) | |
| tree | dbba1389ede534db6f24169af413acbcfd1b79da /src/rlgl.h | |
| parent | 546c727520d8116132e57fd5e007dd7d873ba9a1 (diff) | |
| download | raylib-95da97fa744766fb46b912dcae504cd858fd2377.tar.gz raylib-95da97fa744766fb46b912dcae504cd858fd2377.zip | |
Fixed bug: rlglGenerateMipmaps()
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ void rlglInitGraphics(int offsetX, int offsetY, int width, int height); // Init unsigned int rlglLoadTexture(void *data, int width, int height, int textureFormat, int mipmapCount); // Load texture in GPU void rlglUpdateTexture(unsigned int id, int width, int height, int format, void *data); // Update GPU texture with new data -void rlglGenerateMipmaps(unsigned int textureId); // Generate mipmap data for selected texture +void rlglGenerateMipmaps(Texture2D texture); // Generate mipmap data for selected texture // NOTE: There is a set of shader related functions that are available to end user, // to avoid creating function wrappers through core module, they have been directly declared in raylib.h |
