mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
Fix style issues
This commit is contained in:
parent
53052b3f6e
commit
f998bb8299
14 changed files with 36 additions and 18 deletions
|
|
@ -101,8 +101,9 @@ error:
|
|||
}
|
||||
|
||||
static void init_image_ext() {
|
||||
if (glEGLImageTargetTexture2DOES)
|
||||
if (glEGLImageTargetTexture2DOES) {
|
||||
return;
|
||||
}
|
||||
|
||||
const char *exts = (const char*) glGetString(GL_EXTENSIONS);
|
||||
if (strstr(exts, "GL_OES_EGL_image_external")) {
|
||||
|
|
@ -177,7 +178,7 @@ static void draw_quad() {
|
|||
|
||||
static bool wlr_gles2_render_texture(struct wlr_renderer *_renderer,
|
||||
struct wlr_texture *texture, const float (*matrix)[16]) {
|
||||
if(!texture || !texture->valid) {
|
||||
if (!texture || !texture->valid) {
|
||||
wlr_log(L_ERROR, "attempt to render invalid texture");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue