edit the example layout to add more details

This commit is contained in:
2017-02-02 23:10:05 +00:00
parent 5df2484c27
commit e2792534bc
3 changed files with 28 additions and 25 deletions

View File

@@ -192,7 +192,7 @@ void App::update(float dt)
ShaderManager::u_mat4(kShaderUniform::MVP, proj * tran);
ShaderManager::u_vec2(kShaderUniform::Tof, tof);
ShaderManager::u_vec2(kShaderUniform::Tsz, tsz);
plane.draw_fill();
//plane.draw_fill();
font_tex.unbind();
sampler.unbind();
}

View File

@@ -386,7 +386,7 @@ int main()
wglDeleteContext(hRC);
DestroyWindow(hWnd);
hWnd = CreateWindow(wc.lpszClassName, L"UI Layout Engine", WS_OVERLAPPEDWINDOW,
hWnd = CreateWindow(wc.lpszClassName, L"UI Layout Engine - OpenGL 3.1", WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, clientRect.right - clientRect.left,
clientRect.bottom - clientRect.top, 0, 0, hInst, 0);