summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-31 09:55:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-31 12:06:50 +0200
commitb02998a7cb86bb69c01fd7c2625c801eef835e55 (patch)
treeeaee008356bc6054b43844744e50d24756a53007 /vcl/inc
parentc54850b23a8240a41755af171a6d3f990ee69f84 (diff)
inline some use-once typedefs
and remove some dead ones Change-Id: I6946d717d3c15dc5207489ed3d56d985dd953d59 Reviewed-on: https://gerrit.libreoffice.org/41746 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/opengl/program.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/inc/opengl/program.hxx b/vcl/inc/opengl/program.hxx
index cb6839d96536..88ec1b7c1896 100644
--- a/vcl/inc/opengl/program.hxx
+++ b/vcl/inc/opengl/program.hxx
@@ -23,8 +23,6 @@
#include <unordered_map>
-typedef std::unordered_map< OString, GLuint, OStringHash > UniformCache;
-
enum class TextureShaderType
{
Normal = 0,
@@ -44,7 +42,8 @@ class VCL_PLUGIN_PUBLIC OpenGLProgram
{
private:
GLuint mnId;
- UniformCache maUniformLocations;
+ std::unordered_map< OString, GLuint, OStringHash >
+ maUniformLocations;
sal_uInt32 mnEnabledAttribs;
GLuint mnPositionAttrib;
GLuint mnTexCoordAttrib;