mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-27 19:25:29 +00:00
Wuffs LDR loader comments: public's old PNG/JPEG loaders allowed 32768; no 'base64' Wuffs sub-module
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3c8d24b275
commit
a14c492262
+1
-1
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
// Only the modules the PNG, TGA, JPEG and QOI decoders need. The base module is limited to its core, interfaces and pixel
|
||||
// conversion sub-modules (no base64/floatconv/intconv/utf8/magic).
|
||||
// conversion sub-modules (no floatconv/intconv/utf8/magic).
|
||||
#define WUFFS_CONFIG__MODULES
|
||||
#define WUFFS_CONFIG__MODULE__BASE__CORE
|
||||
#define WUFFS_CONFIG__MODULE__BASE__INTERFACES
|
||||
|
||||
@@ -3993,7 +3993,7 @@ namespace basisu
|
||||
|
||||
#if BASISU_USE_WUFFS_LDR_LOADER
|
||||
// Decode caps, checked from the image header BEFORE any pixel or work buffer is allocated. Override with -D.
|
||||
// Maximum width/height. Default: basist::BASISU_MAX_SUPPORTED_TEXTURE_DIMENSION (16384) = jpgd's JPGD_MAX_DIMENSION = read_tga()'s MAX_TGA_IMAGE_SIZE.
|
||||
// Maximum width/height. Default: basist::BASISU_MAX_SUPPORTED_TEXTURE_DIMENSION (16384) = read_tga()'s MAX_TGA_IMAGE_SIZE. (The older pv_png and jpgd loaders accepted up to 32768.)
|
||||
#ifndef BASISU_WUFFS_LDR_MAX_DIM
|
||||
#define BASISU_WUFFS_LDR_MAX_DIM basist::BASISU_MAX_SUPPORTED_TEXTURE_DIMENSION
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user