edit the example layout to add more details
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user