mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Clean up OpenGL plugin error handling macros. No longer bother with enabling TEXTURE_2D and TEXTURE_RECTANGLE_ARB - they don't apply when using shaders. Change a PanicAlert when looking for valid plugins into a LOG_WARN.
Let me know if this breaks anything - it shouldn't. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2726 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -68,7 +68,6 @@ private:
|
||||
static u8 *temp;
|
||||
static TexCache textures;
|
||||
static std::map<u32, DEPTHTARGET> mapDepthTargets;
|
||||
static int nTex2DEnabled, nTexRECTEnabled;
|
||||
|
||||
public:
|
||||
static void Init();
|
||||
@ -80,8 +79,6 @@ public:
|
||||
static TCacheEntry* Load(int texstage, u32 address, int width, int height, int format, int tlutaddr, int tlutfmt);
|
||||
static void CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool bIsIntensityFmt, u32 copyfmt, bool bScaleByHalf, const TRectangle &source);
|
||||
|
||||
static void EnableTex2D(int stage);
|
||||
static void EnableTexRECT(int stage);
|
||||
static void DisableStage(int stage); // sets active texture
|
||||
|
||||
static void ClearRenderTargets(); // sets render target value of all textures to false
|
||||
|
Reference in New Issue
Block a user