Skip to content
Snippets Groups Projects
Commit 41eeabd1 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Send compressFromMipmapLevel to client in init call.

By sending compressFromMipmapLevel we don't require the client to set it. This removes all the problems when setting the value different on server and client.
parent f97814a7
No related branches found
No related tags found
No related merge requests found
......@@ -430,6 +430,7 @@ public class CellHandler extends ContextHandler {
}
try (final DataOutputStream dos = new DataOutputStream(response.getOutputStream())) {
dos.writeByte(compressionParams.getCompressFromMipmapLevel());
dos.writeByte(cachedCodebooks.size());
for (final ICacheFile cacheFile : cachedCodebooks) {
cacheFile.writeToStream(dos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment