ppsspp/Windows/GPU/WindowsGraphicsContext.h
Henrik Rydgard 15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00

11 lines
235 B
C++

#pragma once
#include "Common/GraphicsContext.h"
#include "Common/CommonWindows.h"
class WindowsGraphicsContext : public GraphicsContext {
public:
virtual bool Init(HINSTANCE hInst, HWND window, std::string *error_message) = 0;
};