diff options
| author | Ray <[email protected]> | 2021-06-28 09:39:31 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-06-28 09:39:31 +0200 |
| commit | e5cf3f9555bc8b0d6e379c4fae95358049a1b37c (patch) | |
| tree | a0a3da3d23e4c9124c4aa703513552d073a83c11 /examples/textures/textures_mouse_painting.c | |
| parent | 5f03201616e32b04d969e8c4f2918f17df5447b6 (diff) | |
| download | raylib-e5cf3f9555bc8b0d6e379c4fae95358049a1b37c.tar.gz raylib-e5cf3f9555bc8b0d6e379c4fae95358049a1b37c.zip | |
WARNING: BREAKING: Functions renamed for consistency
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
Diffstat (limited to 'examples/textures/textures_mouse_painting.c')
| -rw-r--r-- | examples/textures/textures_mouse_painting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures/textures_mouse_painting.c b/examples/textures/textures_mouse_painting.c index 3001e853..3d6fdf10 100644 --- a/examples/textures/textures_mouse_painting.c +++ b/examples/textures/textures_mouse_painting.c @@ -146,7 +146,7 @@ int main(void) // NOTE: Saving painted texture to a default named image if ((btnSaveMouseHover && IsMouseButtonReleased(MOUSE_BUTTON_LEFT)) || IsKeyPressed(KEY_S)) { - Image image = GetTextureData(target.texture); + Image image = LoadImageFromTexture(target.texture); ImageFlipVertical(&image); ExportImage(image, "my_amazing_texture_painting.png"); UnloadImage(image); |
