use screenshot for eye dropper

instead of using backbuffer image, use the screenshot so it captures everything
This commit is contained in:
marauder2k7 2025-01-23 20:23:47 +00:00
parent 93352f5754
commit 055ca0ae00
4 changed files with 9 additions and 16 deletions

View file

@ -29,7 +29,7 @@
//**************************************************************************
class ScreenShotD3D11 : public ScreenShot
{
protected:
public:
GBitmap* _captureBackBuffer() override;

View file

@ -29,7 +29,7 @@
//**************************************************************************
class ScreenShotGL : public ScreenShot
{
protected:
public:
GBitmap* _captureBackBuffer() override;

View file

@ -40,10 +40,6 @@ class Frustum;
class ScreenShot
{
/// This is overloaded to copy the current GFX
/// backbuffer to a new bitmap.
virtual GBitmap* _captureBackBuffer() { return NULL; }
/// This is set to toggle the capture.
bool mPending;
@ -76,6 +72,9 @@ public:
ScreenShot();
virtual ~ScreenShot() { }
/// This is overloaded to copy the current GFX
/// backbuffer to a new bitmap.
virtual GBitmap* _captureBackBuffer() { return NULL; }
/// Used to start the screenshot capture.
void setPending( const char *filename, bool writeJPG, S32 tiles, F32 overlap );