Revert "Always enable opengl acceleration, no matter where."

This reverts commit 51038411fb1602e224d16fa8d81d8752c3f2a345.