main: Add another useless quad
This commit is contained in:
parent
a65885d2bf
commit
06e7e308cc
|
@ -117,10 +117,13 @@ static void init_opengl() {
|
||||||
|
|
||||||
init_shaders();
|
init_shaders();
|
||||||
|
|
||||||
|
quads.push_back(new Quad(std::span<float>(verts), uniform_locations));
|
||||||
quads.push_back(new Quad(std::span<float>(verts), uniform_locations));
|
quads.push_back(new Quad(std::span<float>(verts), uniform_locations));
|
||||||
|
|
||||||
quads[0]->m_pos_y = 40;
|
quads[0]->m_pos_y = 40;
|
||||||
quads[0]->m_pos_x = 40;
|
quads[0]->m_pos_x = 40;
|
||||||
|
quads[1]->m_pos_y = 40;
|
||||||
|
quads[1]->m_pos_x = 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
Loading…
Reference in New Issue