Bug 1063053 - Add stronger types to WebGL texture code for better debug/compile time checking. r=jgilbert,kamidphish

This commit is contained in:
Walter Litwinczyk
2014-09-18 16:14:22 -07:00
parent fad7b93bd6
commit 686f80f7f6
24 changed files with 456 additions and 278 deletions

View File

@@ -43,7 +43,7 @@ WebGLRenderbuffer::WrapObject(JSContext *cx) {
}
WebGLRenderbuffer::WebGLRenderbuffer(WebGLContext *context)
: WebGLBindableName()
: WebGLBindableName<GLenum>()
, WebGLContextBoundObject(context)
, mPrimaryRB(0)
, mSecondaryRB(0)