| 2752 | } |
| 2753 | |
| 2754 | void CGraphics_Threaded::ReadPixel(ivec2 Position, ColorRGBA *pColor) |
| 2755 | { |
| 2756 | dbg_assert(Position.x >= 0 && Position.x < ScreenWidth(), "ReadPixel position x out of range"); |
| 2757 | dbg_assert(Position.y >= 0 && Position.y < ScreenHeight(), "ReadPixel position y out of range"); |
| 2758 | |
| 2759 | m_ReadPixelPosition = Position; |
| 2760 | m_pReadPixelColor = pColor; |
| 2761 | } |
| 2762 | |
| 2763 | void CGraphics_Threaded::ReadPixelDirect(bool *pSwapped) |
| 2764 | { |