opengl: rewrite pl_scale error handling
These functions are safe to call on NULL, so just zero-init the struct and use a single error label. This simplifies the logic (and also fixes a bug, since the pl_renderer was not properly cleaned up from one error path).
parent
bd7e85d6
No related branches found
No related tags found
Please register or sign in to comment