Fix OpenGL device initialization and file shaders
This commit is contained in:
@@ -76,12 +76,18 @@ public:
|
||||
private:
|
||||
friend class OpenGLSwapChain;
|
||||
|
||||
bool AttachWindow(HWND hwnd);
|
||||
bool ConfigureWindowPixelFormat(HDC hdc);
|
||||
bool CreateContextForCurrentWindow();
|
||||
void DestroyOwnedWindow();
|
||||
|
||||
HDC GetPresentationDC() const { return m_hdc; }
|
||||
OpenGLTextureUnitAllocator* GetTextureUnitAllocator() { return m_textureUnitAllocator.get(); }
|
||||
OpenGLUniformBufferManager* GetUniformBufferManager() { return m_uniformBufferManager.get(); }
|
||||
void SwapBuffers();
|
||||
|
||||
HWND m_hwnd = nullptr;
|
||||
HWND m_ownedWindow = nullptr;
|
||||
HDC m_hdc = nullptr;
|
||||
HGLRC m_hglrc = nullptr;
|
||||
RHIDeviceInfo m_deviceInfo;
|
||||
|
||||
Reference in New Issue
Block a user