mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
fix: i8vec2 is 4 bytes wide, rather than 2.
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include "types.h"
|
||||||
|
|
||||||
#define VX 0
|
#define VX 0
|
||||||
#define VY 1
|
#define VY 1
|
||||||
|
|
||||||
typedef int8_t i8vec2 __attribute__((vector_size(4)));
|
typedef i8 i8vec2 __attribute__((vector_size(2)));
|
||||||
|
|||||||
Reference in New Issue
Block a user