增加CodePage,LogInfo

This commit is contained in:
2018-12-05 21:08:18 +08:00
parent 14b2a782be
commit 7c323bcee8
11 changed files with 480 additions and 4 deletions

View File

@@ -19,6 +19,10 @@ void InitMatrix()
false); //Y轴使用底为0顶为1
}
void InitVertex()
{
}
constexpr char vertex_shader[]=R"(
#version 330 core
@@ -116,6 +120,7 @@ int main(void)
win->MakeToCurrent(); //切换当前窗口到前台
InitMatrix();
InitVertex();
if(!InitShader())
{
std::cerr<<"init shader failed."<<std::endl;