view .dir-locals.el @ 20107:2eed41ae3b64

Fix computation of next-power-of-2 for height in OpenGL texture creation. * gl-render.cc (opengl_texture::create): Use 'h', not 'w', as argument to compute 'th'.
author Daniel J Sebald <daniel.sebald@ieee.org>
date Tue, 03 Mar 2015 18:25:16 -0600
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))