{"action":"created","issue":{"url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/224","labels_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/224/comments","events_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/224/events","html_url":"https://github.com/gerstrong/Commander-Genius/issues/224","id":89809106,"number":224,"title":"Build failure with SDL 1.x","user":{"login":"alexey-lysiuk","id":777125,"avatar_url":"https://avatars.githubusercontent.com/u/777125?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-lysiuk","html_url":"https://github.com/alexey-lysiuk","followers_url":"https://api.github.com/users/alexey-lysiuk/followers","following_url":"https://api.github.com/users/alexey-lysiuk/following{/other_user}","gists_url":"https://api.github.com/users/alexey-lysiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-lysiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-lysiuk/subscriptions","organizations_url":"https://api.github.com/users/alexey-lysiuk/orgs","repos_url":"https://api.github.com/users/alexey-lysiuk/repos","events_url":"https://api.github.com/users/alexey-lysiuk/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-lysiuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-20T19:40:29Z","updated_at":"2015-06-21T12:38:26Z","closed_at":"2015-06-21T12:38:26Z","body":"The following compilation errors prevent building without `USE_SDL2`:\r\n```\r\nlib/GsKit/base/video/COpenGL.cpp:222:27: error: use of undeclared identifier 'oglfilter'\r\n        createTexture(m_texture, oglfilter, m_GamePOTScaleDim.w, m_GamePOTScaleDim.h);\r\n                                 ^\r\nlib/GsKit/base/video/COpenGL.cpp:226:27: error: use of undeclared identifier 'oglfilter'\r\n          createTexture(m_texFX, oglfilter, m_GamePOTScaleDim.w, m_GamePOTScaleDim.h, true);\r\n                                 ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:101:9: error: use of undeclared identifier 'mDPadTexture'\r\n        mDPadTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:102:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mDPadTexture, dpadRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:102:44: error: use of undeclared identifier 'mDPadTexture'\r\n        gVideoDriver.addTextureRefToRender(mDPadTexture, dpadRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:114:9: error: use of undeclared identifier 'mConfirmButtonTexture'\r\n        mConfirmButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:115:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mConfirmButtonTexture, confirmRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:115:44: error: use of undeclared identifier 'mConfirmButtonTexture'\r\n        gVideoDriver.addTextureRefToRender(mConfirmButtonTexture, confirmRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:127:9: error: use of undeclared identifier 'mStartButtonTexture'\r\n        mStartButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:128:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mStartButtonTexture, confirmRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:128:44: error: use of undeclared identifier 'mStartButtonTexture'\r\n        gVideoDriver.addTextureRefToRender(mStartButtonTexture, confirmRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:140:9: error: use of undeclared identifier 'mShootButtonTexture'\r\n        mShootButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:141:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mShootButtonTexture, shootButtonRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:141:44: error: use of undeclared identifier 'mShootButtonTexture'\r\n        gVideoDriver.addTextureRefToRender(mShootButtonTexture, shootButtonRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:144:9: error: use of undeclared identifier 'mJumpButtonTexture'\r\n        mJumpButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:145:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mJumpButtonTexture, jumpButtonRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:145:44: error: use of undeclared identifier 'mJumpButtonTexture'\r\n        gVideoDriver.addTextureRefToRender(mJumpButtonTexture, jumpButtonRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:148:9: error: use of undeclared identifier 'mPogoButtonTexture'\r\n        mPogoButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:149:22: error: no member named 'addTextureRefToRender' in 'CVideoDriver'\r\n        gVideoDriver.addTextureRefToRender(mPogoButtonTexture, pogoButtonRect);\r\n        ~~~~~~~~~~~~ ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:149:44: error: use of undeclared identifier 'mPogoButtonTexture'\r\n        gVideoDriver.addTextureRefToRender(mPogoButtonTexture, pogoButtonRect);\r\n                                           ^\r\nsrc/engine/core/VGamepads/vgamepadsimple.cpp:152:9: error: use of undeclared identifier 'mStatusButtonTexture'\r\n        mStatusButtonTexture.setAlpha(uint8_t(255.0f*mTranslucency));\r\n        ^\r\n```\r\nErrors in `COpenGL.cpp` are trivial to fix, not sure about those in `VirtualKeenControl` class.\r\n\r\nIs SDL 1.x still supported?\r\n"},"comment":{"url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/comments/113894664","html_url":"https://github.com/gerstrong/Commander-Genius/issues/224#issuecomment-113894664","issue_url":"https://api.github.com/repos/gerstrong/Commander-Genius/issues/224","id":113894664,"user":{"login":"gerstrong","id":314853,"avatar_url":"https://avatars.githubusercontent.com/u/314853?v=3","gravatar_id":"","url":"https://api.github.com/users/gerstrong","html_url":"https://github.com/gerstrong","followers_url":"https://api.github.com/users/gerstrong/followers","following_url":"https://api.github.com/users/gerstrong/following{/other_user}","gists_url":"https://api.github.com/users/gerstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/gerstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerstrong/subscriptions","organizations_url":"https://api.github.com/users/gerstrong/orgs","repos_url":"https://api.github.com/users/gerstrong/repos","events_url":"https://api.github.com/users/gerstrong/events{/privacy}","received_events_url":"https://api.github.com/users/gerstrong/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T12:38:26Z","updated_at":"2015-06-21T12:38:26Z","body":"Fixed since 32e62216dd8ab45c08e9de1e0d395a00d5d4979e"}}