2012-10-09 22:39:51 +04:00
|
|
|
/* -*- 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/. */
|
|
|
|
|
2013-06-11 00:00:35 +04:00
|
|
|
#include "WebGLShaderPrecisionFormat.h"
|
2014-11-14 07:03:50 +03:00
|
|
|
|
2012-10-09 22:39:51 +04:00
|
|
|
#include "mozilla/dom/WebGLRenderingContextBinding.h"
|
2014-11-14 07:03:50 +03:00
|
|
|
#include "WebGLContext.h"
|
2012-10-09 22:39:51 +04:00
|
|
|
|
2014-11-14 07:03:50 +03:00
|
|
|
namespace mozilla {
|
2012-10-09 22:39:51 +04:00
|
|
|
|
2015-01-09 00:56:42 +03:00
|
|
|
bool
|
2015-07-15 03:37:28 +03:00
|
|
|
WebGLShaderPrecisionFormat::WrapObject(JSContext* cx,
|
|
|
|
JS::Handle<JSObject*> givenProto,
|
|
|
|
JS::MutableHandle<JSObject*> reflector)
|
2012-10-09 22:39:51 +04:00
|
|
|
{
|
2015-07-15 03:37:28 +03:00
|
|
|
return dom::WebGLShaderPrecisionFormatBinding::Wrap(cx, this, givenProto, reflector);
|
2012-10-09 22:39:51 +04:00
|
|
|
}
|
2014-11-14 07:03:50 +03:00
|
|
|
|
|
|
|
} // namespace mozilla
|