blob: 52f731ecb0e7155327279cfcba43e3704c4327fe [file] [log] [blame]
//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "libANGLE/renderer/gl/wgl/ContextWGL.h"
namespace rx
{
ContextWGL::ContextWGL(const gl::State &state,
gl::ErrorSet *errorSet,
const std::shared_ptr<RendererWGL> &renderer)
: ContextGL(state, errorSet, renderer), mRendererWGL(renderer)
{}
ContextWGL::~ContextWGL() {}
HGLRC ContextWGL::getContext() const
{
return mRendererWGL->getContext();
}
} // namespace rx