Browse Source

Platform: compilation fixes for WindowlessNaClApplication.

Still can't test it, but at least fixing what Doxygen found.
pull/158/head
Vladimír Vondruš 10 years ago
parent
commit
387ab1b08d
  1. 4
      src/Magnum/Platform/WindowlessNaClApplication.cpp
  2. 4
      src/Magnum/Platform/WindowlessNaClApplication.h

4
src/Magnum/Platform/WindowlessNaClApplication.cpp

@ -57,7 +57,7 @@ WindowlessNaClContext::WindowlessNaClContext(pp::Instance& instance, const Confi
WindowlessNaClContext::WindowlessNaClContext(WindowlessNaClContext&&) = default;
WindowlessNaClContext::~WindowlessEglContext() = default;
WindowlessNaClContext::~WindowlessNaClContext() = default;
WindowlessNaClContext& WindowlessNaClContext::operator=(WindowlessNaClContext&&) = default;
@ -93,7 +93,7 @@ WindowlessNaClApplication{arguments, NoCreate} {
createContext(configuration);
}
WindowlessNaClApplication::WindowlessNaClApplication(const Arguments& arguments, NoCreate): Instance(arguments), Graphics3DClient(this), _glContext{NoCreate}, _debugOutput{new ConsoleDebugOutput{this}} {}
WindowlessNaClApplication::WindowlessNaClApplication(const Arguments& arguments, NoCreateT): Instance(arguments), Graphics3DClient(this), _glContext{NoCreate}, _debugOutput{new ConsoleDebugOutput{this}} {}
void WindowlessNaClApplication::createContext() { createContext({}); }

4
src/Magnum/Platform/WindowlessNaClApplication.h

@ -79,7 +79,7 @@ class WindowlessNaClContext {
* and create @ref Platform::Context instance to be able to use Magnum.
* @see @ref isCreated()
*/
explicit WindowlessNaClContext(pp::Instance& instance, const Configuration& configuration, const Context* context = nullptr);
explicit WindowlessNaClContext(pp::Instance& instance, const Configuration& configuration, Context* context = nullptr);
/**
* @brief Construct without creating the context
@ -126,7 +126,7 @@ class WindowlessNaClContext {
@brief Configuration
@see @ref WindowlessNaClContext(),
@ref WindowlessNaClApplication::WindowlessCglApplication(),
@ref WindowlessNaClApplication::WindowlessNaClApplication(),
@ref WindowlessNaClApplication::createContext(),
@ref WindowlessNaClApplication::tryCreateContext()
*/

Loading…
Cancel
Save