liamg / darktile

:waning_crescent_moon: Darktile is a GPU rendered terminal emulator designed for tiling window managers.
MIT License
3.04k stars 112 forks source link

Fix GL error GL_INVALID_OPERATION message (issue #153) #240

Closed vadymeng0 closed 5 years ago

vadymeng0 commented 5 years ago

Description

When run with -debug option on Windows, Aminal displays these messages in the log:

2019-01-16T21:34:03.331+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.331+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.344+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
2019-01-16T21:34:03.344+0700    INFO    gui/gui.go:531  GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error

This PR eliminates those error messages.

Fixes #153

Type of change

How Has This Been Tested?

The behavior described in the issue https://github.com/liamg/aminal/issues/153 should not appear anymore.

Test Configuration: