draw basic field over player when player is attacking
This commit is contained in:
@@ -13,6 +13,8 @@ unsigned int DYNAMIC_DRAW = GL_DYNAMIC_DRAW;
|
||||
// OpenGL functions used below
|
||||
void loadGlad() {
|
||||
gladLoadGLLoader((GLADloadproc)glfwGetProcAddress);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
}
|
||||
|
||||
void viewport(int width, int height) {
|
||||
|
||||
Reference in New Issue
Block a user