| 12 | } |
| 13 | |
| 14 | void PrimitiveTexture::Update( const sf::Image& data ) { |
| 15 | if( data.getSize() != size ) { |
| 16 | #if defined( SFGUI_DEBUG ) |
| 17 | std::cerr << "Tried to update texture with mismatching image size.\n"; |
| 18 | #endif |
| 19 | return; |
| 20 | } |
| 21 | |
| 22 | sfg::Renderer::Get().UpdateImage( offset, data ); |
| 23 | } |
| 24 | |
| 25 | } |
nothing calls this directly
no test coverage detected