fb_generic: Add "#define SCALE2RES_DEFINED" to check...

...presence of 'CFrameBuffer::scale2Res()'

 - Revert this patch when pu/fb-setmode branch is merged to master


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1fea75f428
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-02-27 00:13:33 +01:00
parent 1a3ef52004
commit 9fecf3d4c5

View File

@@ -278,6 +278,8 @@ class CFrameBuffer : public sigc::trackable
virtual void blitBox2FB(const fb_pixel_t* boxBuf, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff);
virtual void mark(int x, int y, int dx, int dy);
/* Remove this when pu/fb-setmode branch is merged to master */
#define SCALE2RES_DEFINED
virtual int scale2Res(int size) { return size; };
virtual bool fullHdAvailable() { return false; };
virtual void setOsdResolutions();