NativeWindowSdl.h 312 B

12345678910111213141516171819
  1. #ifndef ANKI_CORE_NATIVE_WINDOW_SDL_H
  2. #define ANKI_CORE_NATIVE_WINDOW_SDL_H
  3. #include "anki/core/NativeWindow.h"
  4. #include <SDL.h>
  5. namespace anki {
  6. /// Native window implementation for SDL
  7. struct NativeWindowImpl
  8. {
  9. SDL_Window* window = nullptr;
  10. SDL_GLContext context = 0;
  11. };
  12. } // end namespace anki
  13. #endif