You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
@@ -195,7 +195,7 @@ namespace basisu
|
||||
{
|
||||
QueryPerformanceFrequency(reinterpret_cast<LARGE_INTEGER*>(pTicks));
|
||||
}
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined(__APPLE__) || defined(__OpenBSD__)
|
||||
#include <sys/time.h>
|
||||
inline void query_counter(timer_ticks* pTicks)
|
||||
{
|
||||
@@ -1779,8 +1779,6 @@ namespace basisu
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const uint32_t bytes_per_line = hdr.m_width * tga_bytes_per_pixel;
|
||||
|
||||
const uint8_t *pSrc = pBuf + sizeof(tga_header);
|
||||
uint32_t bytes_remaining = buf_size - sizeof(tga_header);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user