yuzu/src/citra/emu_window/emu_window_glfw.h
bunnei 5da03e821e - removed deprecated version.h
- cleaned up window title
- cleaned up emu_window_glfw/emu_window
2014-04-08 23:18:23 -04:00

34 lines
707 B
C++

// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "common/emu_window.h"
class EmuWindow_GLFW : public EmuWindow {
public:
EmuWindow_GLFW();
~EmuWindow_GLFW();
/// Swap buffers to display the next frame
void SwapBuffers();
/// Polls window events
void PollEvents();
/// Makes the graphics context current for the caller thread
void MakeCurrent();
/// Releases (dunno if this is the "right" word) the GLFW context from the caller thread
void DoneCurrent();
GLFWwindow* m_render_window; ///< Internal GLFW render window
private:
};