ui: glTexImage2D only redundant on QCOM

pull/2144/head
Willem Melching 5 years ago
parent 61489b4348
commit e8c8e9dab2
  1. 2
      selfdrive/ui/paint.cc

@ -249,7 +249,7 @@ static void draw_frame(UIState *s) {
if (s->stream.last_idx >= 0) {
glBindTexture(GL_TEXTURE_2D, s->frame_texs[s->stream.last_idx]);
#ifndef __aarch64__
#ifndef QCOM
// this is handled in ion on QCOM
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, s->stream.bufs_info.width, s->stream.bufs_info.height,
0, GL_RGB, GL_UNSIGNED_BYTE, s->priv_hnds[s->stream.last_idx]);

Loading…
Cancel
Save