diff options
| author | Alexander Tsoy <alexander@tsoy.me> | 2025-06-23 07:55:52 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-06-23 07:55:52 +0200 | 
| commit | ba8f277d1d7b12014d6327980b81331c9b82b0e4 (patch) | |
| tree | 10b7c56229b5ea446d4c5db88ea1f4e15ed65af8 /test | |
| parent | 23df5bd31202c65952fc181c6ad1b611a0c9e26a (diff) | |
Fix vector size in painter test.develop
Diffstat (limited to 'test')
| -rw-r--r-- | test/paintertest.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/test/paintertest.cc b/test/paintertest.cc index 5a1c44a..10b96dc 100644 --- a/test/paintertest.cc +++ b/test/paintertest.cc @@ -91,7 +91,7 @@ public:  		has_alpha = alpha;  		image_data.resize(_width * _height); -		image_data_raw.resize(_width * _height); +		image_data_raw.resize(4 * _width * _height);  		// Store x and y coordinates as red and green colour components  		for(std::uint8_t x = 0; x < _width; ++x)  | 
