Direct3D 9

Ask your support questions in here

Moderator: Moderator Team

Post Reply
iPick12
Posts: 16
Joined: Mon May 07, 2012 6:16 pm

Direct3D 9

Post 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?
milon
Posts: 969
Joined: Sat Sep 05, 2009 9:26 pm

Re: Direct3D 9

Post 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. ;)
Post Reply

Who is online

Users browsing this forum: DotBot [Crawler] and 34 guests