diff options
author | chai <chaifix@163.com> | 2019-06-08 08:34:52 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-06-08 08:34:52 +0800 |
commit | d7a972a0f16da0fd7bf4c0b70913920216ff3113 (patch) | |
tree | a9146629cbf513200462c3f1223a9e07f3e01862 /source/tests | |
parent | 8bfe54676f728076a92d802bb5d064e58265c8f2 (diff) |
*misc
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/win32/01-window/03_sub_menu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/tests/win32/01-window/03_sub_menu.cpp b/source/tests/win32/01-window/03_sub_menu.cpp index e532658..462370f 100644 --- a/source/tests/win32/01-window/03_sub_menu.cpp +++ b/source/tests/win32/01-window/03_sub_menu.cpp @@ -13,6 +13,7 @@ using namespace std; using namespace AEIO; using namespace AEGraphics; +using namespace AEImage; LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); void AddMenus(HWND); @@ -118,7 +119,7 @@ File* file2; DataBuffer db(102400); AEIO::Filesystem* fs; ImageData* imgdata = new ImageData(); -Image* img; +AEGraphics::Image* img; GLint tex; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { @@ -232,7 +233,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, imgdata->Decode(db); img->Load(imgdata, {50, 100}); imgdata->Release(); - + // shader shader = new Shader(); shader->Load(vert, frag); |