Skip to content

Commit

Permalink
Disable SW rendering while OSMesa support is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoeppe committed Jul 21, 2019
1 parent 1522f83 commit 0067362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ cc_library(
hdrs = ["public/dmlab.h"],
data = [
":libdmlab_headless_hw.so",
":libdmlab_headless_sw.so",
#":libdmlab_headless_sw.so",
],
linkopts = ["-ldl"],
visibility = ["//testing:__subpackages__"],
Expand Down
2 changes: 1 addition & 1 deletion python/dmlab_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static int Lab_init(PyObject* pself, PyObject* args, PyObject* kwds) {

DeepMindLabLaunchParams params = {};
params.runfiles_path = get_module_state(module)->runfiles_path;
params.renderer = DeepMindLabRenderer_Software;
params.renderer = DeepMindLabRenderer_Hardware;
if (renderer != NULL && renderer[0] != '\0') {
if (strcmp(renderer, "hardware") == 0) {
params.renderer = DeepMindLabRenderer_Hardware;
Expand Down

0 comments on commit 0067362

Please sign in to comment.