REFAC(macos,overlay): Remove unused symbol

The cgl symbol was resolved but never used, which triggered a warning
in our macOS CI.
This commit is contained in:
Robert Adam 2022-05-15 18:27:40 +02:00
parent fa6a780f1a
commit e99ef2cade

View File

@ -124,9 +124,8 @@ __attribute__((constructor)) static void initializeLibrary() {
ods("!");
void *nsgl = NULL, *cgl = NULL;
nsgl = dlsym(RTLD_DEFAULT, "NSClassFromString");
cgl = dlsym(RTLD_DEFAULT, "CGLFlushDrawable");
void *nsgl = NULL;
nsgl = dlsym(RTLD_DEFAULT, "NSClassFromString");
/* Check for GL symbol availability */
if (!(AVAIL_ALL_GLSYM)) {