未验证 提交 d6e59460 编写于 作者: N Niklas Schulze 提交者: GitHub

Fix Windows external texture interference (#25193)

上级 23ef916b
......@@ -125,6 +125,7 @@ bool ExternalTextureGL::CopyPixelBuffer(size_t& width, size_t& height) {
gl.glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, pixel_buffer->width,
pixel_buffer->height, 0, GL_RGBA, GL_UNSIGNED_BYTE,
pixel_buffer->buffer);
gl.glBindTexture(GL_TEXTURE_2D, 0);
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册