I'm porting a Direct3D 9 C++ application to ReactOS. I'd like to know how I can use d3dx9.h components cause when I include the file I get an error about undefined max variable. Here it is:
- Code: Select all
Undefined variable 'max'
My C++ code is this:
- Code: Select all
#include <windows.h>
#include <windowsx.h>
#include <d3d9.h>
#include <d3dx9.h>
I have included the Direct3D 9 lib at CMakeLists.txt but there is no d3dx9 library
Does anyone know the answer to this problem?