aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-01-18 04:03:19 +0100
committerStapleButter <thetotalworm@gmail.com>2017-01-18 04:03:19 +0100
commitd30e6956fa59182a23941a535d5f6c2bf515918a (patch)
treeb4526c883a33f53579647faf6aa0f6c594ef2881 /main.cpp
parentbff3a92cc02b6a7270b87f02d6f6ebd322a5ecb5 (diff)
skeleton for 2D GPU
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 5b0edd7..56ef7a7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <windows.h>
#include "NDS.h"
-#include "GPU2D.h"
+#include "GPU.h"
HINSTANCE instance;
@@ -150,7 +150,7 @@ int main()
NDS::RunFrame();
HDC dc = GetDC(melon);
- SetDIBitsToDevice(dc, 0, 0, 256, 384, 0, 0, 0, 384, GPU2D::Framebuffer, (BITMAPINFO*)&bmp, DIB_RGB_COLORS);
+ SetDIBitsToDevice(dc, 0, 0, 256, 384, 0, 0, 0, 384, GPU::Framebuffer, (BITMAPINFO*)&bmp, DIB_RGB_COLORS);
UpdateWindow(melon);
nframes++;