content/canvas/src/WebGLContextNotSupported.cpp
author Benoit Jacob <bjacob@mozilla.com>
Wed, 03 Oct 2012 20:40:32 -0400
changeset 115472 0910857eb29404e40e2b39caf67b8eaa5ca51133
parent 114464 fc709862314527c065e2a976a55fd77b7d2963ff
child 115559 6f37149454382667f6b1a156e6e2caaabc685782
permissions -rw-r--r--
Bug 779611 - fix --disable-webgl build by updating WebGLContextNotSupported.cpp - no review

/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIDOMWebGLRenderingContext.h"
#include "nsDOMClassInfoID.h"

#define DUMMY(func,rtype)  nsresult func (rtype ** aResult) { return NS_ERROR_FAILURE; }

DUMMY(NS_NewCanvasRenderingContextWebGL, nsIDOMWebGLRenderingContext)

DOMCI_DATA(WebGLBuffer, void)
DOMCI_DATA(WebGLTexture, void)
DOMCI_DATA(WebGLProgram, void)
DOMCI_DATA(WebGLShader, void)
DOMCI_DATA(WebGLFramebuffer, void)
DOMCI_DATA(WebGLRenderbuffer, void)
DOMCI_DATA(WebGLActiveInfo, void)