Fix some high severity bugs

This commit is contained in:
2021-01-13 00:05:59 +01:00
parent e1a51b86b6
commit 89ae811beb
8 changed files with 17 additions and 20 deletions

View File

@@ -1,8 +1,8 @@
#include "Widget.h"
#include "VertexArray.h"
Widget::Widget(Texture *texture, float x, float y, float w, float h) :
x(x), y(y), w(w), h(h)
Widget::Widget(Texture *texture, float p_x, float p_y, float p_w, float p_h) :
x(p_x), y(p_y), w(p_w), h(p_h)
{
widgetTextures.push_back(texture);