Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert

This commit is contained in:
Dan Glastonbury
2015-05-21 09:55:34 +10:00
parent a56917e1b8
commit c8fe1f498a
7 changed files with 26 additions and 20 deletions

View File

@@ -378,7 +378,7 @@ WebGLFramebuffer::AttachPoint::FinalizeAttachment(gl::GLContext* gl,
const GLenum imageTarget = ImageTarget().get();
const GLint mipLevel = MipLevel();
const GLuint glName = Texture()->GLName();
const GLuint glName = Texture()->mGLName;
if (attachmentLoc == LOCAL_GL_DEPTH_STENCIL_ATTACHMENT) {
gl->fFramebufferTexture2D(LOCAL_GL_FRAMEBUFFER, LOCAL_GL_DEPTH_ATTACHMENT,