From b17739a865fd039dcb115f8ef3e1326be916d6b1 Mon Sep 17 00:00:00 2001 From: scorpion81 Date: Sat, 3 Jun 2023 22:58:59 +0200 Subject: [PATCH] formatting fixes --- src/video_core/renderer_opengl/gl_device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index 51ed289247..e579bd4a6f 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -286,7 +286,8 @@ void main() { u64 Device::GetCurrentDedicatedVideoMemory() const { GLint cur_avail_mem_kb = 0; - // this should report the correct size of the VRAM, on integrated devices it shows the size of the UMA Framebuffer + // this should report the correct size of the VRAM, on integrated devices it shows the size of + // the UMA Framebuffer glGetIntegerv(GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX, &cur_avail_mem_kb); return static_cast(cur_avail_mem_kb) * 1_KiB; }