WebGLContextUnchecked.cpp 610 B

12345678910111213141516171819
  1. /* -*- Mode: C++; tab-width: 8; 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/. */
  5. #include "WebGLContextUnchecked.h"
  6. #include "GLContext.h"
  7. #include "WebGLSampler.h"
  8. namespace mozilla {
  9. WebGLContextUnchecked::WebGLContextUnchecked(gl::GLContext* _gl)
  10. : mGL_OnlyClearInDestroyResourcesAndContext(_gl)
  11. , gl(mGL_OnlyClearInDestroyResourcesAndContext) // const reference
  12. { }
  13. } // namespace mozilla