- moved more code from FDrawInfo to HWDrawInfo.
The entire setup/takedown code did not reference any API specific data. The only thing needed is a global virtual creation function.
This commit is contained in:
parent
1ca811d4a8
commit
2ee2766812
8 changed files with 103 additions and 83 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#include "hwrenderer/data/hw_viewpointbuffer.h"
|
||||
#include "hwrenderer/dynlights/hw_lightbuffer.h"
|
||||
#include "gl/shaders/gl_shaderprogram.h"
|
||||
#include "gl/scene/gl_drawinfo.h"
|
||||
#include "gl_debug.h"
|
||||
#include "r_videoscale.h"
|
||||
#include "gl_buffers.h"
|
||||
|
|
@ -376,6 +377,10 @@ IDataBuffer *OpenGLFrameBuffer::CreateDataBuffer(int bindingpoint, bool ssbo)
|
|||
return new GLDataBuffer(bindingpoint, ssbo);
|
||||
}
|
||||
|
||||
HWDrawInfo *OpenGLFrameBuffer::CreateDrawInfo()
|
||||
{
|
||||
return new FDrawInfo;
|
||||
}
|
||||
|
||||
void OpenGLFrameBuffer::TextureFilterChanged()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue