Compile fix by grafikrobot

Added some things for FBO integration, not yet finished.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@1982 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-12-27 18:53:10 +00:00
parent 30100db0a5
commit 8e533e5c53
1 changed files with 6 additions and 1 deletions

View File

@ -15,11 +15,12 @@
#include "CIrrDeviceMacOSX.h"
#endif
#include "SIrrCreationParameters.h"
#ifdef _IRR_COMPILE_WITH_OGLES1_
#include "CNullDriver.h"
#include "IMaterialRendererServices.h"
#include "SIrrCreationParameters.h"
#include "EDriverFeatures.h"
#include "fast_atof.h"
@ -260,6 +261,9 @@ namespace video
//! Returns the graphics card vendor name.
virtual core::stringc getVendorInfo() {return vendorName;};
ITexture* createDepthTexture(ITexture* texture, bool shared=true);
void removeDepthTexture(ITexture* texture);
private:
void uploadClipPlane(u32 index);
@ -311,6 +315,7 @@ namespace video
SMaterial Material, LastMaterial;
COGLES1Texture* RenderTargetTexture;
const ITexture* CurrentTexture[MATERIAL_MAX_TEXTURES];
core::array<ITexture*> DepthTextures;
s32 LastSetLight;
core::array<core::plane3df> UserClipPlane;
core::array<bool> UserClipPlaneEnabled;