detect if AVX is supported

This commit is contained in:
FunkyFr3sh 2022-09-19 13:13:34 +02:00
parent 537b8605b0
commit f4ee6128c4
5 changed files with 25 additions and 2 deletions

View file

@ -5,6 +5,8 @@
#include <windows.h>
extern BOOL g_blt_use_avx;
void blt_copy(
unsigned char* dst,
unsigned char* src,

View file

@ -5,6 +5,7 @@
#include <windows.h>
BOOL util_is_avx_supported();
void util_limit_game_ticks();
void util_update_bnet_pos(int newX, int newY);
BOOL util_get_lowest_resolution(float ratio, SIZE* outRes, DWORD minWidth, DWORD minHeight, DWORD maxWidth, DWORD maxHeight);