source: trunk/src/platform/nacl/opengl_context_ptrs.h @ 1084

Last change on this file since 1084 was 1084, checked in by sam, 12 years ago

nacl: the Mandelbrot zoomer is starting to work on NaCl.

  • Property svn:keywords set to Id
File size: 600 bytes
Line 
1// Copyright (c) 2011 The Native Client Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
6#define EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
7
8// A convenience wrapper for a shared OpenGLContext pointer type.  As other
9// smart pointer types are needed, add them here.
10
11#include <tr1/memory>
12
13namespace lol {
14
15class OpenGLContext;
16
17typedef std::tr1::shared_ptr<OpenGLContext> SharedOpenGLContext;
18
19}  // namespace lol
20
21#endif  // EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
22
Note: See TracBrowser for help on using the repository browser.