This commit is contained in:
Branimir Karadžić 2017-02-11 09:12:16 -08:00
parent cff54fa7ec
commit fab74e9c4a
7 changed files with 5 additions and 8 deletions

View File

@ -10,7 +10,7 @@
#include "../packrect.h"
#include <bx/fpumath.h>
#include <bx/radixsort.h>
#include <bx/sort.h>
#include <bx/uint32_t.h>
#include <bx/crtimpl.h>
#include <bx/handlealloc.h>

View File

@ -1937,7 +1937,7 @@ namespace bgfx
}
}
qsort(scores, numScores, sizeof(int32_t), compareDescending);
bx::quickSort(scores, numScores, sizeof(int32_t), compareDescending);
RendererContextI* renderCtx = NULL;
for (uint32_t ii = 0; ii < numScores; ++ii)

View File

@ -124,7 +124,7 @@ namespace bgfx
#include <bx/endian.h>
#include <bx/handlealloc.h>
#include <bx/hash.h>
#include <bx/radixsort.h>
#include <bx/sort.h>
#include <bx/ringbuffer.h>
#include <bx/uint32_t.h>
#include <bx/readerwriter.h>

View File

@ -6,7 +6,6 @@
#ifndef BGFX_IMAGE_H_HEADER_GUARD
#define BGFX_IMAGE_H_HEADER_GUARD
#include <stdint.h>
#include <bx/pixelformat.h>
namespace bgfx

View File

@ -9,7 +9,6 @@
#include "renderer_mtl.h"
#include "renderer.h"
#include "bx/bx.h"
#if BX_PLATFORM_OSX
# include <Cocoa/Cocoa.h>

View File

@ -6,7 +6,7 @@
#include <bx/allocator.h>
#include <bx/debug.h>
#include <bx/fpumath.h>
#include <bx/radixsort.h>
#include <bx/sort.h>
#include <bx/uint32_t.h>
#include "config.h"

View File

@ -3,11 +3,10 @@
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include <string.h>
#include <bx/debug.h>
#include <bx/hash.h>
#include <bx/readerwriter.h>
#include <bx/radixsort.h>
#include <bx/sort.h>
#include <bx/string.h>
#include <bx/uint32_t.h>