Move to common (todo: merge with above)

This commit is contained in:
Henrik Rydgård 2022-08-03 12:14:28 +02:00
parent d55c4a3456
commit 1d3075566f
5 changed files with 58 additions and 62 deletions

View file

@ -354,7 +354,7 @@ protected:
virtual void PackFramebufferSync_(VirtualFramebuffer *vfb, int x, int y, int w, int h);
void SetViewport2D(int x, int y, int w, int h);
Draw::Texture *MakePixelTexture(const u8 *srcPixels, GEBufferFormat srcPixelFormat, int srcStride, int width, int height);
virtual void DrawActiveTexture(float x, float y, float w, float h, float destW, float destH, float u0, float v0, float u1, float v1, int uvRotation, int flags) = 0;
virtual void DrawActiveTexture(float x, float y, float w, float h, float destW, float destH, float u0, float v0, float u1, float v1, int uvRotation, int flags);
virtual void Bind2DShader() = 0;
void DrawStrip2D(Draw::Texture *tex, Draw2DVertex *verts, int vertexCount);