diff --git a/gfx_es2/gpu_features.cpp b/gfx_es2/gpu_features.cpp index 67d205ec88..f230b7c96d 100644 --- a/gfx_es2/gpu_features.cpp +++ b/gfx_es2/gpu_features.cpp @@ -24,7 +24,8 @@ void ProcessGPUFeatures() { } if (gl_extensions.gpuVendor == GPU_VENDOR_POWERVR) { - if (!strcmp(gl_extensions.model, "PowerVR SGX 540") || + if (!strcmp(gl_extensions.model, "PowerVR SGX 543") || + !strcmp(gl_extensions.model, "PowerVR SGX 540") || !strcmp(gl_extensions.model, "PowerVR SGX 530") || !strcmp(gl_extensions.model, "PowerVR SGX 520") ) { WLOG("GL DRIVER BUG: PVR with bad and terrible precision"); diff --git a/net/http_headers.cpp b/net/http_headers.cpp index 2e7103ca51..c0cafd6c62 100644 --- a/net/http_headers.cpp +++ b/net/http_headers.cpp @@ -128,6 +128,7 @@ int RequestHeader::ParseHttpHeader(const char *buffer) { } delete [] key; + return 0; } void RequestHeader::ParseHeaders(int fd) {