whitespace tab to 4spaces formating only change
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
This commit is contained in:
parent
846232063c
commit
b4c6febe4c
File diff suppressed because it is too large
Load Diff
@ -40,16 +40,16 @@ import java.nio.ByteBuffer;
|
|||||||
*/
|
*/
|
||||||
public final class PrimitiveAllocator implements BufferAllocator {
|
public final class PrimitiveAllocator implements BufferAllocator {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void destroyDirectBuffer(Buffer toBeDestroyed) {
|
public void destroyDirectBuffer(Buffer toBeDestroyed) {
|
||||||
// no exception by intent, as this way naivly written java7/8
|
// no exception by intent, as this way naivly written java7/8
|
||||||
// applications wont crash on 9 assuming they can dispose buffers
|
// applications wont crash on 9 assuming they can dispose buffers
|
||||||
System.err.println("Warning destroyBuffer not supported");
|
System.err.println("Warning destroyBuffer not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ByteBuffer allocate(int size) {
|
public ByteBuffer allocate(int size) {
|
||||||
return ByteBuffer.allocateDirect(size);
|
return ByteBuffer.allocateDirect(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user