Skip to content

Commit

Permalink
API related update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEsch committed Dec 27, 2021
1 parent 83cc149 commit 7910a49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Asteroids.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

////////////////////////////////////////////////////////////////////////////
//
class ATTRIBUTE_HIDDEN CAsteroids
class ATTR_DLL_LOCAL CAsteroids
{
public:
CAsteroids(CMyAddon* addon);
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ bool CMyAddon::Start()
#ifndef WIN32
m_projMat = glm::ortho(0.0f, float(Width()), float(Height()), 0.0f);

std::string fraqShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
std::string fraqShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/frag.glsl");
std::string vertShader = kodi::addon::GetAddonPath("resources/shaders/" GL_TYPE_STRING "/vert.glsl");
if (!LoadShaderFiles(vertShader, fraqShader) || !CompileAndLink())
return false;

Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef struct TRenderVertex
class CAsteroids;
class CTimer;

class ATTRIBUTE_HIDDEN CMyAddon
class ATTR_DLL_LOCAL CMyAddon
: public kodi::addon::CAddonBase,
public kodi::addon::CInstanceScreensaver
#ifndef WIN32
Expand Down

0 comments on commit 7910a49

Please sign in to comment.