Skip to content

Commit 45d30c8

Browse files
author
Nick Klingensmith
committed
Update amalgamated file
Signed-off-by: Nick Klingensmith <quic_nklingen@quicinc.com>
1 parent b9664d3 commit 45d30c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sk_gpu.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5130,7 +5130,8 @@ skg_tex_t skg_tex_create_from_existing(void *native_tex, skg_tex_type_ type, skg
51305130
// Check if this is an external texture
51315131
gl_pipeline.tex_bind[0] = result._texture; // Similar to a PIPELINE_CHECK
51325132
skg_log_enable(false); // Intentional error, don't scare the users.
5133-
glBindTexture(GL_TEXTURE_EXTERNAL_OES, result._texture);
5133+
glActiveTexture(GL_TEXTURE0);
5134+
glBindTexture (GL_TEXTURE_EXTERNAL_OES, result._texture);
51345135
skg_log_enable(true);
51355136
if (!glGetError()) {
51365137
result._target = GL_TEXTURE_EXTERNAL_OES;

0 commit comments

Comments
 (0)