mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
minor tweaks
This commit is contained in:
@@ -368,7 +368,7 @@ static Image* LoadJPGBuff_( const void *src_buffer, int src_size ){
|
||||
|
||||
int row_stride = cinfo.output_width * cinfo.output_components;
|
||||
|
||||
RGBAImage* image = new RGBAImage( cinfo.output_width, cinfo.output_height );
|
||||
auto *image = new RGBAImage( cinfo.output_width, cinfo.output_height );
|
||||
|
||||
JSAMPARRAY buffer = ( *cinfo.mem->alloc_sarray )( ( j_common_ptr ) & cinfo, JPOOL_IMAGE, row_stride, 1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user