You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Linux: Allow unbundling brotli to use system library
This commit is contained in:
@@ -35,13 +35,13 @@
|
||||
|
||||
#include "thirdparty/misc/fastlz.h"
|
||||
|
||||
#ifdef BROTLI_ENABLED
|
||||
#include "thirdparty/brotli/include/brotli/decode.h"
|
||||
#endif
|
||||
|
||||
#include <zlib.h>
|
||||
#include <zstd.h>
|
||||
|
||||
#ifdef BROTLI_ENABLED
|
||||
#include <brotli/decode.h>
|
||||
#endif
|
||||
|
||||
int Compression::compress(uint8_t *p_dst, const uint8_t *p_src, int p_src_size, Mode p_mode) {
|
||||
switch (p_mode) {
|
||||
case MODE_BROTLI: {
|
||||
|
||||
Reference in New Issue
Block a user