more premake4 fun and tests
This commit is contained in:
22
Demos/NativeClient/opengl_context_ptrs.h
Normal file
22
Demos/NativeClient/opengl_context_ptrs.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2011 The Native Client Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
|
||||
#define EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
|
||||
|
||||
// A convenience wrapper for a shared OpenGLContext pointer type. As other
|
||||
// smart pointer types are needed, add them here.
|
||||
|
||||
#include <tr1/memory>
|
||||
|
||||
namespace tumbler {
|
||||
|
||||
class OpenGLContext;
|
||||
|
||||
typedef std::tr1::shared_ptr<OpenGLContext> SharedOpenGLContext;
|
||||
|
||||
} // namespace tumbler
|
||||
|
||||
#endif // EXAMPLES_TUMBLER_OPENGL_CONTEXT_PTRS_H_
|
||||
|
||||
Reference in New Issue
Block a user