forked from enlightenment/efl
make the direct3d engine working with d3dx9 header files
from Microsoft SDK (november 2008) Patch by Roberto Huelga (modified + minor improvements) SVN revision: 38850
This commit is contained in:
parent
66b3a0a0f1
commit
76853a3e6c
|
@ -2,7 +2,9 @@
|
|||
#define __EVAS_ENGINE_DIRECT3D_H__
|
||||
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
|
||||
typedef struct _Evas_Engine_Info_Direct3D Evas_Engine_Info_Direct3D;
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "evas_engine.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <d3dx9.h>
|
||||
|
||||
#include "evas_direct3d_device.h"
|
||||
#include "evas_direct3d_context.h"
|
||||
#include "evas_direct3d_shader_pack.h"
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <d3dx9.h>
|
||||
|
||||
#include "evas_direct3d_object_image.h"
|
||||
#include "evas_direct3d_image_cache.h"
|
||||
#include "evas_direct3d_device.h"
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <d3dx9.h>
|
||||
|
||||
#include "evas_direct3d_shader_pack.h"
|
||||
#include "evas_direct3d_device.h"
|
||||
#include <assert.h>
|
||||
|
||||
Ref<D3DShaderPack> D3DShaderPack::_this;
|
||||
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
#define __EVAS_ENGINE_H__
|
||||
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#include <d3d9.h>
|
||||
#include <d3dx9.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue