integrate quick brushes, simulate pressed keys on windows active
This commit is contained in:
22
src/app.cpp
22
src/app.cpp
@@ -619,23 +619,23 @@ void App::update(float dt)
|
||||
#else
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
#endif
|
||||
//canvas->watch(observer);
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
for (int i = 0; i < layout[main_id]->m_children.size(); i++)
|
||||
layout[main_id]->m_children[i]->watch(observer);
|
||||
//msgbox->watch(observer);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
|
||||
// glEnable(GL_BLEND);
|
||||
// sampler.bind(0);
|
||||
// ShaderManager::use(kShader::Texture);
|
||||
// ShaderManager::u_int(kShaderUniform::Tex, 0);
|
||||
// ShaderManager::u_mat4(kShaderUniform::MVP, glm::ortho(-1.f, 1.f, -1.f, 1.f));
|
||||
// glActiveTexture(GL_TEXTURE0);
|
||||
// uirtt.bindTexture();
|
||||
// m_face_plane.draw_fill();
|
||||
// uirtt.unbindTexture();
|
||||
// glDisable(GL_BLEND);
|
||||
//canvas->watch(observer);
|
||||
//glEnable(GL_BLEND);
|
||||
//sampler.bind(0);
|
||||
//ShaderManager::use(kShader::Texture);
|
||||
//ShaderManager::u_int(kShaderUniform::Tex, 0);
|
||||
//ShaderManager::u_mat4(kShaderUniform::MVP, glm::ortho(-1.f, 1.f, -1.f, 1.f));
|
||||
//glActiveTexture(GL_TEXTURE0);
|
||||
//uirtt.bindTexture();
|
||||
//m_face_plane.draw_fill();
|
||||
//uirtt.unbindTexture();
|
||||
//glDisable(GL_BLEND);
|
||||
|
||||
if (rec_running)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user