Page 1 of 1

Direct3D 9

Posted: Sun May 27, 2012 5:29 pm
by iPick12
Hi everyone.
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?

Re: Direct3D 9

Posted: Mon May 28, 2012 2:41 am
by milon
I don't know much about the ROS internals, but I don't think there is a DirectX equivalent in ReactOS. I believe the current approach is a D3D wrapper to OpenGL. Try a forum search and see what pops up for that, or maybe someone with more knowledge will give you a better answer. ;)