log openal vendor after initializing.
This commit is contained in:
parent
bac067c1c7
commit
ac3dae980d
@ -363,10 +363,6 @@ namespace spades {
|
|||||||
Internal() {
|
Internal() {
|
||||||
SPADES_MARK_FUNCTION();
|
SPADES_MARK_FUNCTION();
|
||||||
|
|
||||||
SPLog("OpenAL Info:");
|
|
||||||
SPLog(" Vendor: %s", al::qalGetString(AL_VENDOR));
|
|
||||||
SPLog(" Version: %s", al::qalGetString(AL_VERSION));
|
|
||||||
SPLog(" Renderer: %s", al::qalGetString(AL_RENDERER));
|
|
||||||
if(al::qalGetString(AL_EXTENSIONS)){
|
if(al::qalGetString(AL_EXTENSIONS)){
|
||||||
std::vector<std::string> strs = Split(al::qalGetString(AL_EXTENSIONS), " ");
|
std::vector<std::string> strs = Split(al::qalGetString(AL_EXTENSIONS), " ");
|
||||||
SPLog("OpenAL Extensions:");
|
SPLog("OpenAL Extensions:");
|
||||||
@ -407,6 +403,10 @@ namespace spades {
|
|||||||
|
|
||||||
SPRaise("Failed to open OpenAL device.");
|
SPRaise("Failed to open OpenAL device.");
|
||||||
}
|
}
|
||||||
|
SPLog("OpenAL Info:");
|
||||||
|
SPLog(" Vendor: %s", al::qalGetString(AL_VENDOR));
|
||||||
|
SPLog(" Version: %s", al::qalGetString(AL_VERSION));
|
||||||
|
SPLog(" Renderer: %s", al::qalGetString(AL_RENDERER));
|
||||||
|
|
||||||
if(ext = al::qalcGetString(alDevice, ALC_EXTENSIONS)){
|
if(ext = al::qalcGetString(alDevice, ALC_EXTENSIONS)){
|
||||||
std::vector<std::string> strs = Split(ext, " ");
|
std::vector<std::string> strs = Split(ext, " ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user