1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "WebGL1Context.h"
8 using namespace mozilla
;
11 WebGL1Context::ValidateAttribPointerType(bool /*integerMode*/, GLenum type
, GLsizei
* out_alignment
, const char* info
)
13 MOZ_ASSERT(out_alignment
);
19 case LOCAL_GL_UNSIGNED_BYTE
:
24 case LOCAL_GL_UNSIGNED_SHORT
:
27 // XXX case LOCAL_GL_FIXED:
33 ErrorInvalidEnumInfo(info
, type
);