cleanup cameraview shader (#30520)

cleanup shader

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Justin Newberry 2023-11-24 20:17:51 -08:00 committed by GitHub
parent f845c69b43
commit 4b0d0b0f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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