diff --git a/src/gss.d b/src/gss.d index 9c4f01e..c0787c6 100644 --- a/src/gss.d +++ b/src/gss.d @@ -95,6 +95,13 @@ void display(SDL_Window * window) glUniformMatrix4fv(view_idx, 1, GL_TRUE, view_matrix.value_ptr); glDrawElements(GL_TRIANGLE_FAN, 4, GL_UNSIGNED_SHORT, null); + view_matrix.make_identity(); + view_matrix.scale(HEIGHT / cast(float)WIDTH, 1.0, 1.0); + + program2.bind(); + glUniformMatrix4fv(view_idx, 1, GL_TRUE, view_matrix.value_ptr); + logo.draw(logo.WIRE, logo.GENTEX, 2, position2_idx); + SDL_GL_SwapWindow(window); }