cleanup cameraview shader (#30520)

cleanup shader

Co-authored-by: Comma Device <device@comma.ai>
pull/30525/head
Justin Newberry 1 year ago committed by GitHub
parent f845c69b43
commit 4b0d0b0f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/ui/qt/widgets/cameraview.cc

@ -31,8 +31,8 @@ const char frame_vertex_shader[] =
" vTexCoord = aTexCoord;\n"
"}\n";
#ifdef QCOM2
const char frame_fragment_shader[] =
#ifdef QCOM2
"#version 300 es\n"
"#extension GL_OES_EGL_image_external_essl3 : enable\n"
"precision mediump float;\n"
@ -43,7 +43,6 @@ const char frame_fragment_shader[] =
" colorOut = texture(uTexture, vTexCoord);\n"
"}\n";
#else
const char frame_fragment_shader[] =
#ifdef __APPLE__
"#version 330 core\n"
#else

Loading…
Cancel
Save