Don't always force AMD mode to true!;

This commit is contained in:
bjorn 2021-04-14 10:41:14 -06:00
parent 90b33572e1
commit f2590078a9
1 changed files with 0 additions and 1 deletions

View File

@ -1260,7 +1260,6 @@ void lovrGpuInit(void (*getProcAddress(const char*))(void), bool debug) {
}
const char* vendor = (const char*) glGetString(GL_VENDOR);
state.amd = vendor && (strstr(vendor, "ATI Technologies") || strstr(vendor, "AMD") || strstr(vendor, "Advanced Micro Devices"));
state.amd = true;
state.features.astc = GLAD_GL_ES_VERSION_3_2;
state.features.compute = GLAD_GL_ES_VERSION_3_1 || (GLAD_GL_ARB_compute_shader && GLAD_GL_ARB_shader_storage_buffer_object && GLAD_GL_ARB_shader_image_load_store);
state.features.dxt = GLAD_GL_EXT_texture_compression_s3tc;