• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2018 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 #include "libANGLE/renderer/gl/wgl/ContextWGL.h"
8 
9 namespace rx
10 {
ContextWGL(const gl::State & state,gl::ErrorSet * errorSet,const std::shared_ptr<RendererWGL> & renderer)11 ContextWGL::ContextWGL(const gl::State &state,
12                        gl::ErrorSet *errorSet,
13                        const std::shared_ptr<RendererWGL> &renderer)
14     : ContextGL(state, errorSet, renderer), mRendererWGL(renderer)
15 {}
16 
~ContextWGL()17 ContextWGL::~ContextWGL() {}
18 
getContext() const19 HGLRC ContextWGL::getContext() const
20 {
21     return mRendererWGL->getContext();
22 }
23 }  // namespace rx
24