Project import generated by Copybara.
GitOrigin-RevId: d073f8e21be2fcc0e503cb97c6695078b6b75310
This commit is contained in:
@@ -63,7 +63,8 @@ bool GlTextureBuffer::CreateInternal(const void* data) {
|
||||
if (!name_) return false;
|
||||
|
||||
glBindTexture(target_, name_);
|
||||
GlTextureInfo info = GlTextureInfoForGpuBufferFormat(format_, 0);
|
||||
GlTextureInfo info =
|
||||
GlTextureInfoForGpuBufferFormat(format_, 0, context->GetGlVersion());
|
||||
|
||||
// See b/70294573 for details about this.
|
||||
if (info.gl_internal_format == GL_RGBA16F &&
|
||||
|
||||
Reference in New Issue
Block a user