mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
TINYGL: Added default values to Line empty constructor.
This commit is contained in:
parent
d0ce4482f9
commit
7cb1fd7c8b
@ -80,7 +80,7 @@ public:
|
||||
byte *_pixels;
|
||||
Graphics::PixelBuffer _buf; // This is needed for the conversion.
|
||||
|
||||
Line() { }
|
||||
Line() : _x(0), _y(0), _length(0), _pixels(nullptr) { }
|
||||
Line(int x, int y, int length, byte *pixels) : _buf(TinyGL::gl_get_context()->fb->cmode, length * TinyGL::gl_get_context()->fb->cmode.bytesPerPixel, DisposeAfterUse::NO),
|
||||
_x(x), _y(y), _length(length) {
|
||||
// Performing texture to screen conversion.
|
||||
|
Loading…
x
Reference in New Issue
Block a user