Skip to content
Snippets Groups Projects
Commit 8fe496ad authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

ui/shader: fix potential leak of shader on error


Value of 0 for program and shaders are silently ignored and indicate error.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 4b7b661d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment