doing some stuff

This commit is contained in:
2023-01-24 20:06:00 +01:00
parent b66476ef4f
commit e74d218d6e
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2022/12/18 04:03:37 by maldavid ### ########.fr */
/* Updated: 2023/01/24 17:52:21 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 17:36:44 by maldavid #+# #+# */
/* Updated: 2023/01/24 17:21:40 by maldavid ### ########.fr */
/* Updated: 2023/01/24 17:57:19 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -43,7 +43,7 @@ namespace mlx
void MLX_Window::pixel_put(int x, int y, int color)
{
Vertex vert;
static Vertex vert;
vert.pos = glm::vec2(x, y);
vert.color.r = (color >> 16) & 0xFF;
vert.color.g = (color >> 8) & 0xFF;