
April 11th, 2006, 03:34 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 5
Time spent in forums: 1 h 13 m 6 sec
Reputation Power: 0
|
|
|
Problem with DrawText (DirectX9)
Im trying to compile http://www.codeproject.com/directx/dx8template.asp?df=100&forumid=2651&exp=0&select=146195 with Microsoft Visual C++ 6
But its giving me
Quote: --------------------Configuration: project - Win32 Debug--------------------
Compiling...
dx9_fonts.cpp
C:\Sander\dx9_fonts\dx9_fonts.cpp(201) : error C2660: 'D3DXCreateFont' : function does not take 12 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(248) : error C2660: 'DrawTextA' : function does not take 6 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(251) : error C2660: 'DrawTextA' : function does not take 6 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(254) : error C2660: 'DrawTextA' : function does not take 6 parameters
Error executing cl.exe.
project.exe - 4 error(s), 0 warning(s) |
Why? In MSDN D3DXCreateFont does have 12 params...
Is there an easy way to do something like DrawText but then in OpenGL?
|