mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
doing some stuff
This commit is contained in:
@@ -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 */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user