diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-01-18 04:03:19 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-01-18 04:03:19 +0100 |
commit | d30e6956fa59182a23941a535d5f6c2bf515918a (patch) | |
tree | b4526c883a33f53579647faf6aa0f6c594ef2881 /main.cpp | |
parent | bff3a92cc02b6a7270b87f02d6f6ebd322a5ecb5 (diff) |
skeleton for 2D GPU
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++; |